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