pub struct UnlockEvent {
pub date: DateTime<Utc>,
pub amount: Decimal,
}
Expand description
Unlock event. An unlock event is a scheduled event that unlocks a certain amount of tokens at a certain date.
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 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 UnlockEvent
impl Debug for UnlockEvent
Source§impl PartialEq for UnlockEvent
impl PartialEq 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