Struct ramp_api::SpendingRestrictions [−][src]
pub struct SpendingRestrictions {
pub amount: i64,
pub interval: String,
pub lock_date: Option<DateTime<Utc>>,
pub categories: Vec<i64>,
pub blocked_categories: Vec<i64>,
pub transaction_amount_limit: i64,
}Fields
amount: i64interval: Stringlock_date: Option<DateTime<Utc>>categories: Vec<i64>blocked_categories: Vec<i64>transaction_amount_limit: i64Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for SpendingRestrictionsimpl Send for SpendingRestrictionsimpl Sync for SpendingRestrictionsimpl Unpin for SpendingRestrictionsimpl UnwindSafe for SpendingRestrictionsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more