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