pub struct UpdatePaymentMethodRequestBody {
pub payment_source: Box<TokenizedPaymentSourceRequestBody>,
pub tax_information: Box<TaxInformationRequestBody>,
}
Fields§
§payment_source: Box<TokenizedPaymentSourceRequestBody>
§tax_information: Box<TaxInformationRequestBody>
Implementations§
Source§impl UpdatePaymentMethodRequestBody
impl UpdatePaymentMethodRequestBody
pub fn new( payment_source: TokenizedPaymentSourceRequestBody, tax_information: TaxInformationRequestBody, ) -> UpdatePaymentMethodRequestBody
Trait Implementations§
Source§impl Clone for UpdatePaymentMethodRequestBody
impl Clone for UpdatePaymentMethodRequestBody
Source§fn clone(&self) -> UpdatePaymentMethodRequestBody
fn clone(&self) -> UpdatePaymentMethodRequestBody
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 Default for UpdatePaymentMethodRequestBody
impl Default for UpdatePaymentMethodRequestBody
Source§fn default() -> UpdatePaymentMethodRequestBody
fn default() -> UpdatePaymentMethodRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdatePaymentMethodRequestBody
impl<'de> Deserialize<'de> for UpdatePaymentMethodRequestBody
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
Source§impl PartialEq for UpdatePaymentMethodRequestBody
impl PartialEq for UpdatePaymentMethodRequestBody
Source§fn eq(&self, other: &UpdatePaymentMethodRequestBody) -> bool
fn eq(&self, other: &UpdatePaymentMethodRequestBody) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdatePaymentMethodRequestBody
Auto Trait Implementations§
impl Freeze for UpdatePaymentMethodRequestBody
impl RefUnwindSafe for UpdatePaymentMethodRequestBody
impl Send for UpdatePaymentMethodRequestBody
impl Sync for UpdatePaymentMethodRequestBody
impl Unpin for UpdatePaymentMethodRequestBody
impl UnwindSafe for UpdatePaymentMethodRequestBody
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