Field

zio.schema.Schema.Field
See theField companion object
sealed trait Field[R, A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Field <: Singleton & String

Value members

Abstract methods

def annotations: Chunk[Any]
def get: R => A
def name: Field
def schema: Schema[A]
def set: (R, A) => R

Concrete methods

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

Concrete fields

lazy val defaultValue: Option[A]
val optional: Boolean
val transient: Boolean