Module prelude

Module prelude 

Source
Expand description

Prelude module for convenient imports

This module re-exports the most commonly used types and traits. Import it with: use lattice_sdk::prelude::*;

Re-exports§

pub use crate::config::ClientConfig;
pub use crate::core::HttpClient;
pub use crate::core::RequestOptions;
pub use crate::error::ApiError;
pub use crate::api::*;

Modules§

fmt
Utilities for formatting and printing Strings.

Structs§

DateTime
ISO 8601 combined date and time with time zone.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
NaiveDate
ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
NaiveDateTime
ISO 8601 combined date and time without timezone.
OrderedFloat
A wrapper around floats providing implementations of Eq, Ord, and Hash.
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).

Enums§

Value
Represents any valid JSON value.

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Derive Macros§

Deserialize
Serialize