pub struct CheckoutOptions {
pub accepted_payment_methods: Option<AcceptedPaymentMethods>,
pub allow_tipping: Option<bool>,
pub ask_for_shipping_address: Option<bool>,
pub custom_fields: Option<Vec<CustomField>>,
pub merchant_support_email: Option<String>,
pub redirect_url: Option<String>,
pub subscription_plan_id: Option<String>,
}Fields§
§accepted_payment_methods: Option<AcceptedPaymentMethods>§allow_tipping: Option<bool>§ask_for_shipping_address: Option<bool>§custom_fields: Option<Vec<CustomField>>§merchant_support_email: Option<String>§redirect_url: Option<String>§subscription_plan_id: Option<String>Trait Implementations§
Source§impl Clone for CheckoutOptions
impl Clone for CheckoutOptions
Source§fn clone(&self) -> CheckoutOptions
fn clone(&self) -> CheckoutOptions
Returns a duplicate 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 Debug for CheckoutOptions
impl Debug for CheckoutOptions
Source§impl<'de> Deserialize<'de> for CheckoutOptions
impl<'de> Deserialize<'de> for CheckoutOptions
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 CheckoutOptions
impl RefUnwindSafe for CheckoutOptions
impl Send for CheckoutOptions
impl Sync for CheckoutOptions
impl Unpin for CheckoutOptions
impl UnwindSafe for CheckoutOptions
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