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: CustomerIdTrait 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