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