Struct cosmwasm_std::OwnedDeps
source · pub struct OwnedDeps<S: Storage, A: Api, Q: Querier, C: CustomQuery = Empty> {
pub storage: S,
pub api: A,
pub querier: Q,
pub custom_query_type: PhantomData<C>,
}
Expand description
Holds all external dependencies of the contract. Designed to allow easy dependency injection at runtime. This cannot be copied or cloned since it would behave differently for mock storages and a bridge storage in the VM.
Fields§
§storage: S
§api: A
§querier: Q
§custom_query_type: PhantomData<C>