pub struct ConfirmSetupIntentPaymentMethodDataSofort {
pub country: ConfirmSetupIntentPaymentMethodDataSofortCountry,
}
Expand description
If this is a sofort
PaymentMethod, this hash contains details about the SOFORT payment method.
Fields§
§country: ConfirmSetupIntentPaymentMethodDataSofortCountry
Two-letter ISO code representing the country the bank account is located in.
Implementations§
Source§impl ConfirmSetupIntentPaymentMethodDataSofort
impl ConfirmSetupIntentPaymentMethodDataSofort
pub fn new( country: impl Into<ConfirmSetupIntentPaymentMethodDataSofortCountry>, ) -> Self
Trait Implementations§
Source§impl Clone for ConfirmSetupIntentPaymentMethodDataSofort
impl Clone for ConfirmSetupIntentPaymentMethodDataSofort
Source§fn clone(&self) -> ConfirmSetupIntentPaymentMethodDataSofort
fn clone(&self) -> ConfirmSetupIntentPaymentMethodDataSofort
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 moreimpl Copy for ConfirmSetupIntentPaymentMethodDataSofort
Auto Trait Implementations§
impl Freeze for ConfirmSetupIntentPaymentMethodDataSofort
impl RefUnwindSafe for ConfirmSetupIntentPaymentMethodDataSofort
impl Send for ConfirmSetupIntentPaymentMethodDataSofort
impl Sync for ConfirmSetupIntentPaymentMethodDataSofort
impl Unpin for ConfirmSetupIntentPaymentMethodDataSofort
impl UnwindSafe for ConfirmSetupIntentPaymentMethodDataSofort
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