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