pub struct RecoveryEvent {
pub token_id: TokenId,
pub from: Address,
pub to: Address,
pub amount: u128,
pub reason: String,
pub timestamp: i64,
}Expand description
Event emitted when tokens are forcibly recovered.
Fields§
§token_id: TokenId§from: Address§to: Address§amount: u128§reason: String§timestamp: i64Trait Implementations§
Source§impl Clone for RecoveryEvent
impl Clone for RecoveryEvent
Source§fn clone(&self) -> RecoveryEvent
fn clone(&self) -> RecoveryEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecoveryEvent
impl Debug for RecoveryEvent
Source§impl<'de> Deserialize<'de> for RecoveryEvent
impl<'de> Deserialize<'de> for RecoveryEvent
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 RecoveryEvent
impl RefUnwindSafe for RecoveryEvent
impl Send for RecoveryEvent
impl Sync for RecoveryEvent
impl Unpin for RecoveryEvent
impl UnsafeUnpin for RecoveryEvent
impl UnwindSafe for RecoveryEvent
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