pub struct PaymentMethodLimitsSourceLimit {
pub amount: Option<String>,
pub currency: Option<String>,
}
Expand description
The limit for this payment method being used as a source for transfers.
JSON schema
{
"description": "The limit for this payment method being used as a source for transfers.",
"type": "object",
"properties": {
"amount": {
"description": "The amount of the limit.",
"examples": [
"100"
],
"type": "string"
},
"currency": {
"description": "The currency of the limit.",
"examples": [
"USD"
],
"type": "string"
}
}
}
Fields§
§amount: Option<String>
The amount of the limit.
currency: Option<String>
The currency of the limit.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMethodLimitsSourceLimit
impl Clone for PaymentMethodLimitsSourceLimit
Source§fn clone(&self) -> PaymentMethodLimitsSourceLimit
fn clone(&self) -> PaymentMethodLimitsSourceLimit
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<'de> Deserialize<'de> for PaymentMethodLimitsSourceLimit
impl<'de> Deserialize<'de> for PaymentMethodLimitsSourceLimit
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
Source§impl From<&PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
impl From<&PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
Source§fn from(value: &PaymentMethodLimitsSourceLimit) -> Self
fn from(value: &PaymentMethodLimitsSourceLimit) -> Self
Converts to this type from the input type.
Source§impl From<PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
impl From<PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
Source§fn from(value: PaymentMethodLimitsSourceLimit) -> Self
fn from(value: PaymentMethodLimitsSourceLimit) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
impl TryFrom<PaymentMethodLimitsSourceLimit> for PaymentMethodLimitsSourceLimit
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PaymentMethodLimitsSourceLimit,
) -> Result<Self, ConversionError>
fn try_from( value: PaymentMethodLimitsSourceLimit, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentMethodLimitsSourceLimit
impl RefUnwindSafe for PaymentMethodLimitsSourceLimit
impl Send for PaymentMethodLimitsSourceLimit
impl Sync for PaymentMethodLimitsSourceLimit
impl Unpin for PaymentMethodLimitsSourceLimit
impl UnwindSafe for PaymentMethodLimitsSourceLimit
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