Struct stripe::request::post_payment_methods_payment_method::PostPaymentMethodsPaymentMethodRequest
source · pub struct PostPaymentMethodsPaymentMethodRequest {
pub payment_method: String,
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§payment_method: StringTrait Implementations§
source§impl Clone for PostPaymentMethodsPaymentMethodRequest
impl Clone for PostPaymentMethodsPaymentMethodRequest
source§fn clone(&self) -> PostPaymentMethodsPaymentMethodRequest
fn clone(&self) -> PostPaymentMethodsPaymentMethodRequest
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<'de> Deserialize<'de> for PostPaymentMethodsPaymentMethodRequest
impl<'de> Deserialize<'de> for PostPaymentMethodsPaymentMethodRequest
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 RefUnwindSafe for PostPaymentMethodsPaymentMethodRequest
impl Send for PostPaymentMethodsPaymentMethodRequest
impl Sync for PostPaymentMethodsPaymentMethodRequest
impl Unpin for PostPaymentMethodsPaymentMethodRequest
impl UnwindSafe for PostPaymentMethodsPaymentMethodRequest
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