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 chrono;
pub use serde;
pub use serde_bytes;
pub use uuid;
Modules§
- The Conjure
any
type. - The Conjure
bearertoken
type. - Support for double collection keys.
- The Conjure PLAIN format.
- The Conjure
rid
type. - The Conjure
safelong
type.
Structs§
- A representation of an arbitrary serializable value, corresponding to the Conjure
any
type. - An authentication bearer token.
- Wrapper around
Vec<u8>
to serialize and deserialize efficiently. - ISO 8601 combined date and time with time zone.
- A wrapper type allowing
f64
to be used as a key in collection types. - A common format for wrapping existing unique identifiers to provide additional context.
- An i64 limited to a range safely representable in JSON.
- 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).
- A Universally Unique Identifier (UUID).
Traits§
- Parse a value from its Conjure PLAIN string representation.
- Format trait for the Conjure PLAIN format.
- A trait for converting a value to its Conjure PLAIN string representation.