Headers
Callable
Index
Codec
Formatting
Type
Other
Codec
__decode__
Returns the decoded
input
,Result.Ok
orResult.Error()
__encode__
Returns the encoded
input
__schema__
Returns the JSONSchema corresponding to the decoded type
Formatting
asString
Converts the given value to a String.
Type
__inspect__
When defined, returns a custom string representation. To be useful, it should be bound to a prototype (ex: Struct)
asInstance
Try to convert anyValue to enum value or else returns
Option.None
hasInstance
Return
true
if the given value is an instance of the class.
HTTP header record constructor