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 (const: unstable) · 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>
Source§impl PartialEq for SetupIntentPaymentMethodOptionsKlarna
impl PartialEq for SetupIntentPaymentMethodOptionsKlarna
Source§fn eq(&self, other: &SetupIntentPaymentMethodOptionsKlarna) -> bool
fn eq(&self, other: &SetupIntentPaymentMethodOptionsKlarna) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SetupIntentPaymentMethodOptionsKlarna
impl StructuralPartialEq for SetupIntentPaymentMethodOptionsKlarna
Auto Trait Implementations§
impl Freeze for SetupIntentPaymentMethodOptionsKlarna
impl RefUnwindSafe for SetupIntentPaymentMethodOptionsKlarna
impl Send for SetupIntentPaymentMethodOptionsKlarna
impl Sync for SetupIntentPaymentMethodOptionsKlarna
impl Unpin for SetupIntentPaymentMethodOptionsKlarna
impl UnsafeUnpin 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