Struct secret_cosmwasm_std::Context 
source · [−]pub struct Context<T = Empty> where
    T: Clone + Debug + PartialEq + JsonSchema,  { /* private fields */ }Implementations
sourceimpl<T> Context<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
 
impl<T> Context<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
pub fn new() -> Self
pub fn add_log<K: ToString, V: ToString>(&mut self, key: K, value: V)
pub fn add_plaintext_log<K: ToString, V: ToString>(&mut self, key: K, value: V)
pub fn add_message<U: Into<CosmosMsg<T>>>(&mut self, msg: U)
pub fn set_data<U: Into<Binary>>(&mut self, data: U)
Trait Implementations
sourceimpl<T> From<Context<T>> for HandleResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
 
impl<T> From<Context<T>> for HandleResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
sourceimpl<T> From<Context<T>> for MigrateResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
 
impl<T> From<Context<T>> for MigrateResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
sourceimpl<T: PartialEq> PartialEq<Context<T>> for Context<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
 
impl<T: PartialEq> PartialEq<Context<T>> for Context<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
sourceimpl<T> TryFrom<Context<T>> for InitResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
 
impl<T> TryFrom<Context<T>> for InitResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
impl<T> StructuralPartialEq for Context<T> where
    T: Clone + Debug + PartialEq + JsonSchema, 
Auto Trait Implementations
impl<T> RefUnwindSafe for Context<T> where
    T: RefUnwindSafe, 
impl<T> Send for Context<T> where
    T: Send, 
impl<T> Sync for Context<T> where
    T: Sync, 
impl<T> Unpin for Context<T> where
    T: Unpin, 
impl<T> UnwindSafe for Context<T> where
    T: UnwindSafe, 
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