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 copy 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 Default for CheckoutSwishPaymentMethodOptions
impl Default for CheckoutSwishPaymentMethodOptions
source§fn default() -> CheckoutSwishPaymentMethodOptions
fn default() -> CheckoutSwishPaymentMethodOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CheckoutSwishPaymentMethodOptions
impl<'de> Deserialize<'de> for CheckoutSwishPaymentMethodOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CheckoutSwishPaymentMethodOptions
impl RefUnwindSafe for CheckoutSwishPaymentMethodOptions
impl Send for CheckoutSwishPaymentMethodOptions
impl Sync for CheckoutSwishPaymentMethodOptions
impl Unpin 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