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>
Implementations§
source§impl<'a, C: CustomQuery> Deps<'a, C>
impl<'a, C: CustomQuery> Deps<'a, C>
sourcepub fn into_empty(self) -> Deps<'a, Empty>
pub fn into_empty(self) -> Deps<'a, Empty>
This allows to convert any Deps
into one generic over Empty
custom
query type.
Trait Implementations§
impl<'a, C: CustomQuery> Copy for Deps<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for Deps<'a, C>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more