pub struct IssuingCardholderSpendingLimit {
pub amount: i64,
pub categories: Option<Vec<IssuingCardholderSpendingLimitCategories>>,
pub interval: IssuingCardholderSpendingLimitInterval,
}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<IssuingCardholderSpendingLimitCategories>>Array of strings containing categories this limit applies to. Omitting this field will apply the limit to all categories.
interval: IssuingCardholderSpendingLimitIntervalInterval (or event) to which the amount applies.
Trait Implementations§
Source§impl Clone for IssuingCardholderSpendingLimit
impl Clone for IssuingCardholderSpendingLimit
Source§fn clone(&self) -> IssuingCardholderSpendingLimit
fn clone(&self) -> IssuingCardholderSpendingLimit
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 FromValueOpt for IssuingCardholderSpendingLimit
impl FromValueOpt for IssuingCardholderSpendingLimit
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for IssuingCardholderSpendingLimit
impl PartialEq for IssuingCardholderSpendingLimit
Source§fn eq(&self, other: &IssuingCardholderSpendingLimit) -> bool
fn eq(&self, other: &IssuingCardholderSpendingLimit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IssuingCardholderSpendingLimit
impl StructuralPartialEq for IssuingCardholderSpendingLimit
Auto Trait Implementations§
impl Freeze for IssuingCardholderSpendingLimit
impl RefUnwindSafe for IssuingCardholderSpendingLimit
impl Send for IssuingCardholderSpendingLimit
impl Sync for IssuingCardholderSpendingLimit
impl Unpin for IssuingCardholderSpendingLimit
impl UnsafeUnpin for IssuingCardholderSpendingLimit
impl UnwindSafe for IssuingCardholderSpendingLimit
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