pub struct CreateConfirmationTokenPaymentMethodDataSofort {
pub country: CreateConfirmationTokenPaymentMethodDataSofortCountry,
}Expand description
If this is a sofort PaymentMethod, this hash contains details about the SOFORT payment method.
Fields§
§country: CreateConfirmationTokenPaymentMethodDataSofortCountryTwo-letter ISO code representing the country the bank account is located in.
Implementations§
Source§impl CreateConfirmationTokenPaymentMethodDataSofort
impl CreateConfirmationTokenPaymentMethodDataSofort
pub fn new( country: impl Into<CreateConfirmationTokenPaymentMethodDataSofortCountry>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateConfirmationTokenPaymentMethodDataSofort
impl Clone for CreateConfirmationTokenPaymentMethodDataSofort
Source§fn clone(&self) -> CreateConfirmationTokenPaymentMethodDataSofort
fn clone(&self) -> CreateConfirmationTokenPaymentMethodDataSofort
Returns a duplicate 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 PartialEq for CreateConfirmationTokenPaymentMethodDataSofort
impl PartialEq for CreateConfirmationTokenPaymentMethodDataSofort
Source§fn eq(&self, other: &CreateConfirmationTokenPaymentMethodDataSofort) -> bool
fn eq(&self, other: &CreateConfirmationTokenPaymentMethodDataSofort) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateConfirmationTokenPaymentMethodDataSofort
impl StructuralPartialEq for CreateConfirmationTokenPaymentMethodDataSofort
Auto Trait Implementations§
impl Freeze for CreateConfirmationTokenPaymentMethodDataSofort
impl RefUnwindSafe for CreateConfirmationTokenPaymentMethodDataSofort
impl Send for CreateConfirmationTokenPaymentMethodDataSofort
impl Sync for CreateConfirmationTokenPaymentMethodDataSofort
impl Unpin for CreateConfirmationTokenPaymentMethodDataSofort
impl UnsafeUnpin for CreateConfirmationTokenPaymentMethodDataSofort
impl UnwindSafe for CreateConfirmationTokenPaymentMethodDataSofort
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