pub struct TransactionLimits {
pub per_transaction: Option<String>,
pub per_day: Option<String>,
pub per_week: Option<String>,
pub per_month: Option<String>,
pub per_year: Option<String>,
pub currency: Option<String>,
}Expand description
Transaction limits for connection constraints (TAIP-15).
Fields§
§per_transaction: Option<String>Maximum amount per transaction.
per_day: Option<String>Maximum daily amount.
per_week: Option<String>Maximum weekly amount.
per_month: Option<String>Maximum monthly amount.
per_year: Option<String>Maximum yearly amount.
currency: Option<String>Currency for the limits (ISO 4217). Required when limits are specified.
Trait Implementations§
Source§impl Clone for TransactionLimits
impl Clone for TransactionLimits
Source§fn clone(&self) -> TransactionLimits
fn clone(&self) -> TransactionLimits
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 Debug for TransactionLimits
impl Debug for TransactionLimits
Source§impl<'de> Deserialize<'de> for TransactionLimits
impl<'de> Deserialize<'de> for TransactionLimits
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 TransactionLimits
impl RefUnwindSafe for TransactionLimits
impl Send for TransactionLimits
impl Sync for TransactionLimits
impl Unpin for TransactionLimits
impl UnsafeUnpin for TransactionLimits
impl UnwindSafe for TransactionLimits
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