Case

zio.schema.Schema.Case
sealed case class Case[R, A](id: String, schema: Schema[A], unsafeDeconstruct: R => A, construct: A => R, isCase: R => Boolean, annotations: Chunk[Any] = ...)

Attributes

Source
Schema.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Case[R, A]

Members list

Value members

Concrete methods

def deconstruct(r: R): A

Attributes

Source
Schema.scala
def deconstructOption(r: R): Option[A]

Attributes

Source
Schema.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Schema.scala

Inherited methods

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

Concrete fields

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala