Expand description
Definitions of common types (Url
, Timestamp
, JSON types, etc).
Structs§
- Duration
- A span of time.
- OneOr
Set - A generic container that stores exactly one or more unique instances of a given type.
- Ordered
Set - An ordered set backed by a
Vec<T>
. - Single
Struct Error - A container implementing the
std::error::Error
trait. - Timestamp
- A parsed Timestamp.
- Url
- A parsed URL.
Enums§
- Context
- A reference to a JSON-LD context
- OneOr
Many - A generic container that stores exactly one or many (0+) values of a given type.
- String
OrUrl - A type that represents either an arbitrary string or a URL.
- Value
- Represents any valid JSON value.
Traits§
- KeyComparable
- A trait for comparing types only by a certain key.