Struct cosmos_utils::CosmosState [−][src]
pub struct CosmosState {
pub cosmos_account: String,
pub cosmos_database: String,
pub cosmos_master_key: String,
pub storage_account: Option<String>,
pub storage_master_key: Option<String>,
pub image_storage_container: Option<String>,
}Expand description
This struct keeps the static state of cosmos DB, it must be initialized before any cosmos functions are called.
Fields
cosmos_account: Stringcosmos_database: Stringcosmos_master_key: Stringstorage_account: Option<String>storage_master_key: Option<String>image_storage_container: Option<String>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CosmosState
impl Send for CosmosState
impl Sync for CosmosState
impl Unpin for CosmosState
impl UnwindSafe for CosmosState
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more