Wildcard
zio.blocks.schema.SchemaRepr.Wildcard
case object Wildcard extends SchemaRepr
Matches any type.
Attributes
- Source
- SchemaRepr.scala
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
- Self type
-
Wildcard.type
Members list
Type members
Inherited types
The names of the product elements.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
The mirrored *-type.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Inherited and Abstract types
The name of the type.
Value members
Inherited methods
Creates a new instance of type T with elements taken from product p.
Creates a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
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
-
SchemaRepr -> Any
- Inherited from:
- SchemaRepr
- Source
- SchemaRepr.scala
In this article