pub struct CreatePaymentMethodCustom {
pub type_: String,
}Expand description
If this is a custom PaymentMethod, this hash contains details about the Custom payment method.
Fields§
§type_: StringID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products’ internal code to support CPMs.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodCustom
impl Clone for CreatePaymentMethodCustom
Source§fn clone(&self) -> CreatePaymentMethodCustom
fn clone(&self) -> CreatePaymentMethodCustom
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 CreatePaymentMethodCustom
impl Debug for CreatePaymentMethodCustom
impl Eq for CreatePaymentMethodCustom
impl StructuralPartialEq for CreatePaymentMethodCustom
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodCustom
impl RefUnwindSafe for CreatePaymentMethodCustom
impl Send for CreatePaymentMethodCustom
impl Sync for CreatePaymentMethodCustom
impl Unpin for CreatePaymentMethodCustom
impl UnsafeUnpin for CreatePaymentMethodCustom
impl UnwindSafe for CreatePaymentMethodCustom
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