pub struct PutContractResponse {
pub contract_id: ContractInstanceId,
pub result: Result<(), String>,
pub context: DelegateContext,
}Expand description
Response after attempting to store a contract from a delegate.
Fields§
§contract_id: ContractInstanceIdThe ID of the contract that was (attempted to be) stored.
result: Result<(), String>Success (Ok) or error message (Err).
context: DelegateContextContext for the delegate.
Trait Implementations§
Source§impl Clone for PutContractResponse
impl Clone for PutContractResponse
Source§fn clone(&self) -> PutContractResponse
fn clone(&self) -> PutContractResponse
Returns a duplicate 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 PutContractResponse
impl Debug for PutContractResponse
Source§impl<'de> Deserialize<'de> for PutContractResponse
impl<'de> Deserialize<'de> for PutContractResponse
Source§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 Freeze for PutContractResponse
impl RefUnwindSafe for PutContractResponse
impl Send for PutContractResponse
impl Sync for PutContractResponse
impl Unpin for PutContractResponse
impl UnwindSafe for PutContractResponse
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