pub struct PaymentPagesCheckoutSessionPermissions {
pub update_shipping_details: Option<PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails>,
}
Fields§
§update_shipping_details: Option<PaymentPagesCheckoutSessionPermissionsUpdateShippingDetails>
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.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionPermissions
impl Clone for PaymentPagesCheckoutSessionPermissions
Source§fn clone(&self) -> PaymentPagesCheckoutSessionPermissions
fn clone(&self) -> PaymentPagesCheckoutSessionPermissions
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 PaymentPagesCheckoutSessionPermissions
impl FromValueOpt for PaymentPagesCheckoutSessionPermissions
fn from_value(v: Value) -> Option<Self>
impl Copy for PaymentPagesCheckoutSessionPermissions
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionPermissions
impl RefUnwindSafe for PaymentPagesCheckoutSessionPermissions
impl Send for PaymentPagesCheckoutSessionPermissions
impl Sync for PaymentPagesCheckoutSessionPermissions
impl Unpin for PaymentPagesCheckoutSessionPermissions
impl UnwindSafe for PaymentPagesCheckoutSessionPermissions
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