zio.blocks.schema.Validation
See theValidation companion trait
object Validation
The built-in constraints.
Attributes
- Companion
- trait
- Source
- Validation.scala
- Graph
-
- Supertypes
- Self type
-
Validation.type
Members list
Type members
Classlikes
case object None extends Validation[Nothing]
No constraint.
No constraint.
Attributes
- Source
- Validation.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Validation[Nothing]class Objecttrait Matchableclass AnyShow all
- Self type
-
None.type
object Numeric
The numeric constraints.
The numeric constraints.
Attributes
- Companion
- trait
- Source
- Validation.scala
- Supertypes
- Self type
-
Numeric.type
sealed trait Numeric[+A] extends Validation[A]
A constraint on a Byte, Short, Int, Long, Float, Double, BigInt or BigDecimal value.
A constraint on a Byte, Short, Int, Long, Float, Double, BigInt or BigDecimal value.
Attributes
- Companion
- object
- Source
- Validation.scala
- Supertypes
- Known subtypes
-
object Negativeobject NonNegativeobject NonPositiveobject Positiveclass Range[A]class Set[A]Show all
object String
The string constraints.
The string constraints.
Attributes
- Companion
- trait
- Source
- Validation.scala
- Supertypes
- Self type
-
String.type
sealed trait String extends Validation[String]
A constraint on a String value.
A constraint on a String value.
Attributes
- Companion
- object
- Source
- Validation.scala
- Supertypes
- Known subtypes
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article