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

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
def deconstructOption(r: R): Option[A]
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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields