pub struct CheckoutSwishPaymentMethodOptions {
pub reference: Option<String>,
}Fields§
§reference: Option<String>The order reference that will be displayed to customers in the Swish application.
Defaults to the id of the Payment Intent.
Trait Implementations§
Source§impl Clone for CheckoutSwishPaymentMethodOptions
impl Clone for CheckoutSwishPaymentMethodOptions
Source§fn clone(&self) -> CheckoutSwishPaymentMethodOptions
fn clone(&self) -> CheckoutSwishPaymentMethodOptions
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 CheckoutSwishPaymentMethodOptions
impl FromValueOpt for CheckoutSwishPaymentMethodOptions
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CheckoutSwishPaymentMethodOptions
impl PartialEq for CheckoutSwishPaymentMethodOptions
Source§fn eq(&self, other: &CheckoutSwishPaymentMethodOptions) -> bool
fn eq(&self, other: &CheckoutSwishPaymentMethodOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CheckoutSwishPaymentMethodOptions
impl StructuralPartialEq for CheckoutSwishPaymentMethodOptions
Auto Trait Implementations§
impl Freeze for CheckoutSwishPaymentMethodOptions
impl RefUnwindSafe for CheckoutSwishPaymentMethodOptions
impl Send for CheckoutSwishPaymentMethodOptions
impl Sync for CheckoutSwishPaymentMethodOptions
impl Unpin for CheckoutSwishPaymentMethodOptions
impl UnsafeUnpin for CheckoutSwishPaymentMethodOptions
impl UnwindSafe for CheckoutSwishPaymentMethodOptions
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