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