Struct stripe::UpdatePaymentMethod [−][src]
pub struct UpdatePaymentMethod<'a> {
pub billing_details: Option<BillingDetails>,
pub expand: &'a [&'a str],
pub metadata: Option<Metadata>,
}
Expand description
The parameters for PaymentMethod::update
.
Fields
billing_details: Option<BillingDetails>
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdatePaymentMethod<'a>
impl<'a> Send for UpdatePaymentMethod<'a>
impl<'a> Sync for UpdatePaymentMethod<'a>
impl<'a> Unpin for UpdatePaymentMethod<'a>
impl<'a> UnwindSafe for UpdatePaymentMethod<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more