pub struct IssuingCardholderSpendingLimit {
pub amount: i64,
pub categories: Option<Vec<IssuingCardholderSpendingLimitCategories>>,
pub interval: IssuingCardholderSpendingLimitInterval,
}
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<IssuingCardholderSpendingLimitCategories>>
Array of strings containing categories this limit applies to. Omitting this field will apply the limit to all categories.
interval: IssuingCardholderSpendingLimitInterval
Interval (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 · 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>
Auto Trait Implementations§
impl Freeze for IssuingCardholderSpendingLimit
impl RefUnwindSafe for IssuingCardholderSpendingLimit
impl Send for IssuingCardholderSpendingLimit
impl Sync for IssuingCardholderSpendingLimit
impl Unpin 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