Singleton

zio.schema.DynamicValue$.Singleton
sealed case class Singleton[A](instance: A) extends DynamicValue

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def toTypedValue[A](implicit schema: Schema[A]): Either[String, A]

Attributes

Inherited from:
DynamicValue
def toTypedValueOption[A](implicit schema: Schema[A]): Option[A]

Attributes

Inherited from:
DynamicValue
def toValue[A](implicit schema: Schema[A]): Either[DecodeError, A]

Attributes

Inherited from:
DynamicValue

Attributes

Inherited from:
DynamicValue