pub struct PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails {
pub display_name: String,
pub type_: Option<String>,
}Expand description
Custom Payment Methods represent Payment Method types not modeled directly in the Stripe API. This resource consists of details about the custom payment method used for this payment attempt.
Fields§
§display_name: StringDisplay name for the custom (user-defined) payment method type used to make this payment.
type_: Option<String>The custom payment method type associated with this payment.
Trait Implementations§
Source§impl Clone for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl Clone for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
Source§fn clone(
&self,
) -> PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
fn clone( &self, ) -> PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
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 FromValueOpt for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl FromValueOpt for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl RefUnwindSafe for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl Send for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl Sync for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl Unpin for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
impl UnwindSafe for PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
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