Struct fadroma::ensemble::InstantiateResponse
source · pub struct InstantiateResponse {
pub sender: String,
pub instance: ContractLink<Addr>,
pub code_id: u64,
pub msg: Binary,
pub response: Response,
pub sent: Vec<ResponseVariants>,
}
Fields§
§sender: String
The address that triggered the instantiation.
instance: ContractLink<Addr>
The address and code hash of the new instance.
code_id: u64
Code ID of the instantiated contract.
msg: Binary
The init message that was sent.
response: Response
The init response returned by the contract.
sent: Vec<ResponseVariants>
The responses for any messages that the instantiated contract initiated.
Implementations§
Trait Implementations§
source§impl Clone for InstantiateResponse
impl Clone for InstantiateResponse
source§fn clone(&self) -> InstantiateResponse
fn clone(&self) -> InstantiateResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstantiateResponse
impl Debug for InstantiateResponse
source§impl From<InstantiateResponse> for ResponseVariants
impl From<InstantiateResponse> for ResponseVariants
source§fn from(value: InstantiateResponse) -> Self
fn from(value: InstantiateResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq<InstantiateResponse> for InstantiateResponse
impl PartialEq<InstantiateResponse> for InstantiateResponse
source§fn 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 ==
.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§
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