pub struct IssuingCardSpendingLimit {
pub amount: i64,
pub categories: Option<Vec<IssuingCardSpendingLimitCategories>>,
pub interval: IssuingCardSpendingLimitInterval,
}
Fields§
§amount: i64
Maximum 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: IssuingCardSpendingLimitInterval
Interval (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 · 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>
Auto Trait Implementations§
impl Freeze for IssuingCardSpendingLimit
impl RefUnwindSafe for IssuingCardSpendingLimit
impl Send for IssuingCardSpendingLimit
impl Sync for IssuingCardSpendingLimit
impl Unpin 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