[][src]Crate conjure_object

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

any

The Conjure any type.

bearer_token

The Conjure bearertoken type.

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.

ByteBuf

Wrapper around Vec<u8> to serialize and deserialize efficiently.

DateTime

ISO 8601 combined date and time with time zone.

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.