pub struct SetupIntentPaymentMethodOptionsKlarna {
pub currency: Option<Currency>,
pub preferred_locale: Option<String>,
}
Fields§
§currency: Option<Currency>
The currency of the setup intent. Three letter ISO currency code.
preferred_locale: Option<String>
Preferred locale of the Klarna checkout page that the customer is redirected to.
Trait Implementations§
Source§impl Clone for SetupIntentPaymentMethodOptionsKlarna
impl Clone for SetupIntentPaymentMethodOptionsKlarna
Source§fn clone(&self) -> SetupIntentPaymentMethodOptionsKlarna
fn clone(&self) -> SetupIntentPaymentMethodOptionsKlarna
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 FromValueOpt for SetupIntentPaymentMethodOptionsKlarna
impl FromValueOpt for SetupIntentPaymentMethodOptionsKlarna
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SetupIntentPaymentMethodOptionsKlarna
impl RefUnwindSafe for SetupIntentPaymentMethodOptionsKlarna
impl Send for SetupIntentPaymentMethodOptionsKlarna
impl Sync for SetupIntentPaymentMethodOptionsKlarna
impl Unpin for SetupIntentPaymentMethodOptionsKlarna
impl UnwindSafe for SetupIntentPaymentMethodOptionsKlarna
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