Struct cosmwasm_std::Reply [−][src]
pub struct Reply {
pub id: u64,
pub result: ContractResult<SubMsgExecutionResponse>,
}Expand description
The result object returned to reply. We always get the ID from the submessage
back and then must handle success and error cases ourselves.
Fields
id: u64The ID that the contract set when emitting the SubMsg.
Use this to identify which submessage triggered the reply.
result: ContractResult<SubMsgExecutionResponse>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Replyimpl UnwindSafe for ReplyBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self