Struct stripe::generated::checkout::checkout_session::CreateCheckoutSessionPaymentMethodOptionsSwish
source · pub struct CreateCheckoutSessionPaymentMethodOptionsSwish {
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 CreateCheckoutSessionPaymentMethodOptionsSwish
impl Clone for CreateCheckoutSessionPaymentMethodOptionsSwish
source§fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsSwish
fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsSwish
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 CreateCheckoutSessionPaymentMethodOptionsSwish
impl Default for CreateCheckoutSessionPaymentMethodOptionsSwish
source§fn default() -> CreateCheckoutSessionPaymentMethodOptionsSwish
fn default() -> CreateCheckoutSessionPaymentMethodOptionsSwish
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsSwish
impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsSwish
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 RefUnwindSafe for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Send for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Sync for CreateCheckoutSessionPaymentMethodOptionsSwish
impl Unpin 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