StringSchema
oxygen.schema.PlainTextSchema.StringSchema
case object StringSchema extends PlainTextSchema[String]
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait PlainTextSchema[String]trait SchemaLike[String]class Objecttrait Matchableclass AnyShow all
- Self type
-
StringSchema.type
Members list
Type members
Inherited classlikes
object unsafe
There are times when you only care about encoding or decoding, and not the other. This makes that possible. If you try to do the thing you explicitly decided not to implement, you will get a runtime exception.
There are times when you only care about encoding or decoding, and not the other. This makes that possible. If you try to do the thing you explicitly decided not to implement, you will get a runtime exception.
Attributes
- Inherited from:
- SchemaLike
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- PlainTextSchema
Inherited and Abstract types
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
final override def transform[B](ab: String => B, ba: B => String)(using newTypeTag: TypeTag[B]): PlainTextSchema[B]
Attributes
- Definition Classes
- Inherited from:
- PlainTextSchema
Attributes
- Inherited from:
- SchemaLike
final def transformAttemptObscure[B](ab: String => B, ba: B => String)(using newTypeTag: TypeTag[B]): S[B]
Attributes
- Inherited from:
- SchemaLike
final def transformOption[B](ab: String => Option[B], ba: B => String)(using newTypeTag: TypeTag[B]): S[B]
Attributes
- Inherited from:
- SchemaLike
final def transformOptionObscure[B](ab: String => Option[B], ba: B => String)(using newTypeTag: TypeTag[B]): S[B]
Attributes
- Inherited from:
- SchemaLike
final override def transformOrFail[B](ab: String => Either[String, B], ba: B => String)(using newTypeTag: TypeTag[B]): PlainTextSchema[B]
Attributes
- Definition Classes
- Inherited from:
- PlainTextSchema
Concrete fields
In this article