Struct cosmwasm_std::Deps
source · [−]pub struct Deps<'a, C: CustomQuery = Empty> {
pub storage: &'a dyn Storage,
pub api: &'a dyn Api,
pub querier: QuerierWrapper<'a, C>,
}
Fields
storage: &'a dyn Storage
api: &'a dyn Api
querier: QuerierWrapper<'a, C>
Trait Implementations
sourceimpl<'a, C: Clone + CustomQuery> Clone for Deps<'a, C>
impl<'a, C: Clone + CustomQuery> Clone for Deps<'a, C>
impl<'a, C: CustomQuery> Copy for Deps<'a, C>
Auto Trait Implementations
impl<'a, C = Empty> !RefUnwindSafe for Deps<'a, C>
impl<'a, C = Empty> !Send for Deps<'a, C>
impl<'a, C = Empty> !Sync for Deps<'a, C>
impl<'a, C> Unpin for Deps<'a, C> where
C: Unpin,
impl<'a, C = Empty> !UnwindSafe for Deps<'a, C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more