zio.blocks.schema.SchemaRepr.Nominal
A named type reference (e.g., Person, Address).
Attributes
- Source
-
SchemaRepr.scala
- Graph
-
- Supertypes
-
trait Product
trait Equals
trait Matchable
class Any
Show all
Members list
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
-
Product
- Source
-
Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an Iterator[Any]
- Inherited from:
-
Product
- Source
-
Product.scala
Renders this schema representation as a parseable string.
Renders this schema representation as a parseable string.
Examples:
Nominal("Person") → "Person"
Primitive("string") → "string"
Record(...) → "record { name: string, age: int }"
Variant(...) → "variant { Left: int, Right: string }"
Sequence(...) → "list(string)"
Map(...) → "map(string, int)"
Optional(...) → "option(Person)"
Wildcard → "_"
Attributes
- Definition Classes
-
- Inherited from:
-
SchemaRepr
- Source
-
SchemaRepr.scala