PlainTextSchema

oxygen.schema.PlainTextSchema
See thePlainTextSchema companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class EnumSchema[A](typeTag: TypeTag[A], values: Seq[A], encodeValue: A => String, caseSensitive: Boolean) extends PlainTextSchema[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[A]
trait SchemaLike[A]
class Object
trait Matchable
class Any
Show all
case object StringSchema extends PlainTextSchema[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[String]
trait SchemaLike[String]
class Object
trait Matchable
class Any
Show all
Self type
final case class Transform[A, B](underlying: PlainTextSchema[A], typeTag: TypeTag[B], ab: A => B, ba: B => A) extends PlainTextSchema[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[B]
trait SchemaLike[B]
class Object
trait Matchable
class Any
Show all
final case class TransformOrFail[A, B](underlying: PlainTextSchema[A], typeTag: TypeTag[B], ab: A => Either[String, B], ba: B => A) extends PlainTextSchema[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[B]
trait SchemaLike[B]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Givens

Givens

given bigDecimal: PlainTextSchema[BigDecimal]
given bigInt: PlainTextSchema[BigInt]
given boolean: PlainTextSchema[Boolean]
given byte: PlainTextSchema[Byte]
given double: PlainTextSchema[Double]
given float: PlainTextSchema[Float]
given instant: PlainTextSchema[Instant]
given int: PlainTextSchema[Int]
given localDate: PlainTextSchema[LocalDate]
given localDateTime: PlainTextSchema[LocalDateTime]
given localTime: PlainTextSchema[LocalTime]
given long: PlainTextSchema[Long]
given offsetDateTime: PlainTextSchema[OffsetDateTime]
given short: PlainTextSchema[Short]
given string: PlainTextSchema[String]
given timeZone: PlainTextSchema[TimeZone]
given uuid: PlainTextSchema[UUID]
given zoneId: PlainTextSchema[ZoneId]
given zoneOffset: PlainTextSchema[ZoneOffset]
given zonedDateTime: PlainTextSchema[ZonedDateTime]