pub struct PaymentMethodLimits { /* private fields */ }
Implementations§
Source§impl PaymentMethodLimits
impl PaymentMethodLimits
pub fn source_limit<T>(self, value: T) -> Self
pub fn target_limit<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PaymentMethodLimits
impl Clone for PaymentMethodLimits
Source§fn clone(&self) -> PaymentMethodLimits
fn clone(&self) -> PaymentMethodLimits
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 PaymentMethodLimits
impl Debug for PaymentMethodLimits
Source§impl Default for PaymentMethodLimits
impl Default for PaymentMethodLimits
Source§impl From<PaymentMethodLimits> for PaymentMethodLimits
impl From<PaymentMethodLimits> for PaymentMethodLimits
Source§fn from(value: PaymentMethodLimits) -> Self
fn from(value: PaymentMethodLimits) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PaymentMethodLimits> for PaymentMethodLimits
impl TryFrom<PaymentMethodLimits> for PaymentMethodLimits
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PaymentMethodLimits) -> Result<Self, ConversionError>
fn try_from(value: PaymentMethodLimits) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentMethodLimits
impl RefUnwindSafe for PaymentMethodLimits
impl Send for PaymentMethodLimits
impl Sync for PaymentMethodLimits
impl Unpin for PaymentMethodLimits
impl UnwindSafe for PaymentMethodLimits
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