pub struct ContractNotification {
pub contract_id: ContractInstanceId,
pub new_state: WrappedState,
pub context: DelegateContext,
}Expand description
Notification delivered to a delegate when a subscribed contract’s state changes.
Fields§
§contract_id: ContractInstanceIdThe contract whose state changed.
new_state: WrappedStateThe new state of the contract.
context: DelegateContextContext for the delegate.
Trait Implementations§
Source§impl Clone for ContractNotification
impl Clone for ContractNotification
Source§fn clone(&self) -> ContractNotification
fn clone(&self) -> ContractNotification
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 ContractNotification
impl Debug for ContractNotification
Source§impl<'de> Deserialize<'de> for ContractNotification
impl<'de> Deserialize<'de> for ContractNotification
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 ContractNotification
impl RefUnwindSafe for ContractNotification
impl Send for ContractNotification
impl Sync for ContractNotification
impl Unpin for ContractNotification
impl UnsafeUnpin for ContractNotification
impl UnwindSafe for ContractNotification
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