pub struct TransactionLimits {
pub max_amount: Option<String>,
pub max_total_amount: Option<String>,
pub max_transactions: Option<u64>,
}Expand description
Transaction limits for connection constraints.
Fields§
§max_amount: Option<String>Maximum amount for a transaction.
max_total_amount: Option<String>Maximum total amount for all transactions.
max_transactions: Option<u64>Maximum number of transactions allowed.
Trait Implementations§
Source§impl Clone for TransactionLimits
impl Clone for TransactionLimits
Source§fn clone(&self) -> TransactionLimits
fn clone(&self) -> TransactionLimits
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 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 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