Expand description
Core Traits and Types
Macros§
- json
- Construct a
serde_json::Value
from a JSON literal.
Structs§
- Base
Encoding - Provides utility functions for encoding and decoding between various bases.
- 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§
- Base
- A Multibase-supported base. See [multibase::Base] for more information.
- Context
- A reference to a JSON-LD context
- Error
- This type represents all possible errors that can occur in the library.
- 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§
- FmtJson
- A convenience-trait to format types as JSON strings for display.
- From
Json - A convenience-trait for types that can be deserialized from JSON.
- KeyComparable
- A trait for comparing types only by a certain key.
- ToJson
- A convenience-trait for types that can be serialized as JSON.