pub struct IssuingCardSpendingLimit {
pub amount: i64,
pub categories: Option<Vec<IssuingCardSpendingLimitCategories>>,
pub interval: IssuingCardSpendingLimitInterval,
}Fields§
§amount: i64Maximum amount allowed to spend per interval. This amount is in the card’s currency and in the smallest currency unit.
categories: Option<Vec<IssuingCardSpendingLimitCategories>>Array of strings containing categories this limit applies to. Omitting this field will apply the limit to all categories.
interval: IssuingCardSpendingLimitIntervalInterval (or event) to which the amount applies.
Trait Implementations§
Source§impl Clone for IssuingCardSpendingLimit
impl Clone for IssuingCardSpendingLimit
Source§fn clone(&self) -> IssuingCardSpendingLimit
fn clone(&self) -> IssuingCardSpendingLimit
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 IssuingCardSpendingLimit
impl Debug for IssuingCardSpendingLimit
Source§impl FromValueOpt for IssuingCardSpendingLimit
impl FromValueOpt for IssuingCardSpendingLimit
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for IssuingCardSpendingLimit
impl PartialEq for IssuingCardSpendingLimit
Source§fn eq(&self, other: &IssuingCardSpendingLimit) -> bool
fn eq(&self, other: &IssuingCardSpendingLimit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IssuingCardSpendingLimit
impl StructuralPartialEq for IssuingCardSpendingLimit
Auto Trait Implementations§
impl Freeze for IssuingCardSpendingLimit
impl RefUnwindSafe for IssuingCardSpendingLimit
impl Send for IssuingCardSpendingLimit
impl Sync for IssuingCardSpendingLimit
impl Unpin for IssuingCardSpendingLimit
impl UnsafeUnpin for IssuingCardSpendingLimit
impl UnwindSafe for IssuingCardSpendingLimit
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