Module types

Source
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.
Email
A email address type.
Hostname
A hostname type.
ParseError
An error parsing an schema.
Password
A password type.

Enums§

MaybeUndefined
Similar to Option, but it has three states, undefined, null and x.

Traits§

Example
Represents an example
IsObjectType
Represents a object type.
ParseFromJSON
Represents a type that can parsing from JSON.
ParseFromMultipartField
Represents a type that can parsing from multipart.
ParseFromParameter
Represents a type that can parsing from parameter. (header, query, path, cookie)
ParseFromXML
Represents a type that can parsing from XML.
ParseFromYAML
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§

ParseResult
An error parsing a value of type T.