pub struct UnlockEvent {
pub date: DateTime<Utc>,
pub amount: Decimal,
}
Expand description
Unlock event.
Fields§
§date: DateTime<Utc>
Date and time of the unlock event.
amount: Decimal
Amount of tokens to unlock.
Trait Implementations§
Source§impl Clone for UnlockEvent
impl Clone for UnlockEvent
Source§fn clone(&self) -> UnlockEvent
fn clone(&self) -> UnlockEvent
Returns a copy 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 UnlockEvent
impl Debug for UnlockEvent
Source§impl<'de> Deserialize<'de> for UnlockEvent
impl<'de> Deserialize<'de> for UnlockEvent
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
Source§impl PartialEq for UnlockEvent
impl PartialEq for UnlockEvent
Source§impl Serialize for UnlockEvent
impl Serialize for UnlockEvent
impl StructuralPartialEq for UnlockEvent
Auto Trait Implementations§
impl Freeze for UnlockEvent
impl RefUnwindSafe for UnlockEvent
impl Send for UnlockEvent
impl Sync for UnlockEvent
impl Unpin for UnlockEvent
impl UnwindSafe for UnlockEvent
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