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§
- Date
Time - 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
HashMapwhere the value is(). - Naive
Date - 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.
- Naive
Date Time - ISO 8601 combined date and time without timezone.
- Ordered
Float - A wrapper around floats providing implementations of
Eq,Ord, andHash. - 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.