pub struct SpendLimitsOrderAccount {
pub time_lock: TimeLock,
pub spend_limit_per_transaction: u64,
pub spend_limit_per_timeframe: u64,
pub timeframe_in_seconds: u64,
pub next_timeframe_reset_timestamp: u64,
}Expand description
Pending spend-limits order account stored in Redis.
Fields§
§time_lock: TimeLock§spend_limit_per_transaction: u64§spend_limit_per_timeframe: u64§timeframe_in_seconds: u64§next_timeframe_reset_timestamp: u64Trait Implementations§
Source§impl Clone for SpendLimitsOrderAccount
impl Clone for SpendLimitsOrderAccount
Source§fn clone(&self) -> SpendLimitsOrderAccount
fn clone(&self) -> SpendLimitsOrderAccount
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 SpendLimitsOrderAccount
impl Debug for SpendLimitsOrderAccount
Source§impl<'de> Deserialize<'de> for SpendLimitsOrderAccount
impl<'de> Deserialize<'de> for SpendLimitsOrderAccount
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 SpendLimitsOrderAccount
impl RefUnwindSafe for SpendLimitsOrderAccount
impl Send for SpendLimitsOrderAccount
impl Sync for SpendLimitsOrderAccount
impl Unpin for SpendLimitsOrderAccount
impl UnsafeUnpin for SpendLimitsOrderAccount
impl UnwindSafe for SpendLimitsOrderAccount
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