#[non_exhaustive]pub enum PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails {
ClientOnly,
ServerOnly,
Unknown(String),
}Expand description
Determines which entity is allowed to update the shipping details.
Default is client_only.
Stripe Checkout client will automatically update the shipping details.
If set to server_only, only your server is allowed to update the shipping details.
When set to server_only, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClientOnly
ServerOnly
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl Clone for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
Source§fn clone(&self) -> PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
fn clone(&self) -> PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
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 FromValueOpt for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl FromValueOpt for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl PartialEq for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
Source§fn eq(
&self,
other: &PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails,
) -> bool
fn eq( &self, other: &PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl StructuralPartialEq for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl RefUnwindSafe for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl Send for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl Sync for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl Unpin for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
impl UnwindSafe for PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails
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