Struct fadroma::ensemble::InstantiateResponse
source · [−]pub struct InstantiateResponse {
pub sender: HumanAddr,
pub instance: ContractLink<HumanAddr>,
pub msg: Binary,
pub response: InitResponse,
pub sent: Vec<Response>,
}
Fields
sender: HumanAddr
The address that triggered the instantiation.
instance: ContractLink<HumanAddr>
The address and code hash of the new instance.
msg: Binary
The init message that was sent.
response: InitResponse
The init response returned by the contract.
sent: Vec<Response>
The responses for any messages that the instantiated contract initiated.
Implementations
Trait Implementations
sourceimpl Clone for InstantiateResponse
impl Clone for InstantiateResponse
sourcefn clone(&self) -> InstantiateResponse
fn clone(&self) -> InstantiateResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstantiateResponse
impl Debug for InstantiateResponse
sourceimpl From<InstantiateResponse> for Response
impl From<InstantiateResponse> for Response
sourcefn from(value: InstantiateResponse) -> Self
fn from(value: InstantiateResponse) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<InstantiateResponse> for InstantiateResponse
impl PartialEq<InstantiateResponse> for InstantiateResponse
sourcefn eq(&self, other: &InstantiateResponse) -> bool
fn eq(&self, other: &InstantiateResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstantiateResponse) -> bool
fn ne(&self, other: &InstantiateResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstantiateResponse
Auto Trait Implementations
impl RefUnwindSafe for InstantiateResponse
impl Send for InstantiateResponse
impl Sync for InstantiateResponse
impl Unpin for InstantiateResponse
impl UnwindSafe for InstantiateResponse
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