pub struct SpendControlLimitSnapshot {
pub limit: String,
pub remaining_percent: i64,
pub resets_at: i64,
pub used: String,
}Fields§
§limit: String§remaining_percent: i64§resets_at: i64§used: StringTrait Implementations§
Source§impl Clone for SpendControlLimitSnapshot
impl Clone for SpendControlLimitSnapshot
Source§fn clone(&self) -> SpendControlLimitSnapshot
fn clone(&self) -> SpendControlLimitSnapshot
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 SpendControlLimitSnapshot
impl Debug for SpendControlLimitSnapshot
Source§impl<'de> Deserialize<'de> for SpendControlLimitSnapshot
impl<'de> Deserialize<'de> for SpendControlLimitSnapshot
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 SpendControlLimitSnapshot
impl PartialEq for SpendControlLimitSnapshot
Source§fn eq(&self, other: &SpendControlLimitSnapshot) -> bool
fn eq(&self, other: &SpendControlLimitSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpendControlLimitSnapshot
Auto Trait Implementations§
impl Freeze for SpendControlLimitSnapshot
impl RefUnwindSafe for SpendControlLimitSnapshot
impl Send for SpendControlLimitSnapshot
impl Sync for SpendControlLimitSnapshot
impl Unpin for SpendControlLimitSnapshot
impl UnsafeUnpin for SpendControlLimitSnapshot
impl UnwindSafe for SpendControlLimitSnapshot
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