Right

zio.schema.Fallback.Right
final case class Right[+A, +B](right: B) extends Fallback[A, B]

Attributes

Source
Fallback.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Fallback[A, B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def fold[C](fa: A => C, fb: B => C): C

Attributes

Inherited from:
Fallback
Source
Fallback.scala
def map[C](f: A => C): Fallback[C, B]

Attributes

Inherited from:
Fallback
Source
Fallback.scala
def mapLeft[C](f: A => C): Fallback[C, B]

Attributes

Inherited from:
Fallback
Source
Fallback.scala
def mapRight[C](f: B => C): Fallback[A, C]

Attributes

Inherited from:
Fallback
Source
Fallback.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def simplify: Fallback[A, B]

Deletes the right part of Fallback.Both instances.

Deletes the right part of Fallback.Both instances.

Attributes

Inherited from:
Fallback
Source
Fallback.scala
def swap: Fallback[B, A]

Attributes

Inherited from:
Fallback
Source
Fallback.scala
def toEither: Either[A, B]

Tranform a Fallback into an Either, using the left value for Fallback.Both.

Tranform a Fallback into an Either, using the left value for Fallback.Both.

Attributes

Inherited from:
Fallback
Source
Fallback.scala