Struct stripe::IssuingCardholderSpendingLimit
source · 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 copy 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 Default for IssuingCardholderSpendingLimit
impl Default for IssuingCardholderSpendingLimit
source§fn default() -> IssuingCardholderSpendingLimit
fn default() -> IssuingCardholderSpendingLimit
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IssuingCardholderSpendingLimit
impl<'de> Deserialize<'de> for IssuingCardholderSpendingLimit
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
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