pub struct GetContractResponse {
pub contract_id: ContractInstanceId,
pub state: Option<WrappedState>,
pub context: DelegateContext,
}Expand description
Response containing contract state for a delegate.
Fields§
§contract_id: ContractInstanceId§state: Option<WrappedState>The contract state, or None if the contract was not found locally.
context: DelegateContextTrait Implementations§
Source§impl Clone for GetContractResponse
impl Clone for GetContractResponse
Source§fn clone(&self) -> GetContractResponse
fn clone(&self) -> GetContractResponse
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 GetContractResponse
impl Debug for GetContractResponse
Source§impl<'de> Deserialize<'de> for GetContractResponse
impl<'de> Deserialize<'de> for GetContractResponse
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 GetContractResponse
impl RefUnwindSafe for GetContractResponse
impl Send for GetContractResponse
impl Sync for GetContractResponse
impl Unpin for GetContractResponse
impl UnsafeUnpin for GetContractResponse
impl UnwindSafe for GetContractResponse
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