Crate conjure_object

Source
Expand description

Rust implementations of Conjure types.

This crate consists of reexports and definitions of the Rust types that correspond to Conjure types. It is a required dependency of crates which contain Conjure-generated code.

Re-exports§

pub use bytes;
pub use chrono;
pub use serde;
pub use uuid;

Modules§

any
The Conjure any type.
bearer_token
The Conjure bearertoken type.
double_key
Support for double collection keys.
plain
The Conjure PLAIN format.
resource_identifier
The Conjure rid type.
safe_long
The Conjure safelong type.

Structs§

Any
A representation of an arbitrary serializable value, corresponding to the Conjure any type.
BearerToken
An authentication bearer token.
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
DateTime
ISO 8601 combined date and time with time zone.
DoubleKey
A wrapper type allowing f64 to be used as a key in collection types.
ResourceIdentifier
A common format for wrapping existing unique identifiers to provide additional context.
SafeLong
An i64 limited to a range safely representable in JSON.
Utc
The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).
Uuid
A Universally Unique Identifier (UUID).

Traits§

FromPlain
Parse a value from its Conjure PLAIN string representation.
Plain
Format trait for the Conjure PLAIN format.
ToPlain
A trait for converting a value to its Conjure PLAIN string representation.