Expand description
Commonly used data types.
Modules§
- multipart
- Multipart related types.
Structs§
- Any
- A any type.
- Base64
- Represents a binary data encoded with base64.
- Binary
- Represents a binary data.
- A email address type.
- Hostname
- A hostname type.
- Parse
Error - An error parsing an schema.
- Password
- A password type.
Enums§
- Maybe
Undefined - Similar to
Option
, but it has three states,undefined
,null
andx
.
Traits§
- Example
- Represents an example
- IsObject
Type - Represents a object type.
- Parse
FromJSON - Represents a type that can parsing from JSON.
- Parse
From Multipart Field - Represents a type that can parsing from multipart.
- Parse
From Parameter - Represents a type that can parsing from parameter. (header, query, path, cookie)
- Parse
FromXML - Represents a type that can parsing from XML.
- Parse
FromYAML - Represents a type that can parsing from YAML.
- ToHeader
- Represents a type that can converted to HTTP header.
- ToJSON
- Represents a type that can converted to JSON value.
- ToXML
- Represents a type that can converted to XML value.
- ToYAML
- Represents a type that can converted to YAML value.
- Type
- Represents an OpenAPI type.
Type Aliases§
- Parse
Result - An error parsing a value of type
T
.