Struct stripe::AttachPaymentMethod
source · pub struct AttachPaymentMethod {
pub customer: CustomerId,
}
Expand description
The parameters for PaymentMethod::attach
For more details see https://stripe.com/docs/api/payment_methods/attach.
Fields§
§customer: CustomerId
Trait Implementations§
source§impl Clone for AttachPaymentMethod
impl Clone for AttachPaymentMethod
source§fn clone(&self) -> AttachPaymentMethod
fn clone(&self) -> AttachPaymentMethod
Returns a copy 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 AttachPaymentMethod
impl Debug for AttachPaymentMethod
source§impl<'de> Deserialize<'de> for AttachPaymentMethod
impl<'de> Deserialize<'de> for AttachPaymentMethod
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AttachPaymentMethod
impl RefUnwindSafe for AttachPaymentMethod
impl Send for AttachPaymentMethod
impl Sync for AttachPaymentMethod
impl Unpin for AttachPaymentMethod
impl UnwindSafe for AttachPaymentMethod
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