pub struct CreateCheckoutSessionPaymentMethodOptionsSwish {
pub reference: Option<String>,
}Expand description
contains details about the Swish payment method options.
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.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Clone for CreateCheckoutSessionPaymentMethodOptionsSwish
Source§fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsSwish
fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsSwish
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 moreimpl Eq for CreateCheckoutSessionPaymentMethodOptionsSwish
impl StructuralPartialEq for CreateCheckoutSessionPaymentMethodOptionsSwish
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionPaymentMethodOptionsSwish
impl RefUnwindSafe for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Send for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Sync for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Unpin for CreateCheckoutSessionPaymentMethodOptionsSwish
impl UnsafeUnpin for CreateCheckoutSessionPaymentMethodOptionsSwish
impl UnwindSafe for CreateCheckoutSessionPaymentMethodOptionsSwish
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