pub struct CreateCheckoutSessionPhoneNumberCollection {
pub enabled: bool,
}Expand description
Controls phone number collection settings for the session.
We recommend that you review your privacy policy and check with your legal contacts before using this feature. Learn more about collecting phone numbers with Checkout.
Fields§
§enabled: boolSet to true to enable phone number collection.
Can only be set in payment and subscription mode.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionPhoneNumberCollection
impl Clone for CreateCheckoutSessionPhoneNumberCollection
Source§fn clone(&self) -> CreateCheckoutSessionPhoneNumberCollection
fn clone(&self) -> CreateCheckoutSessionPhoneNumberCollection
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 Copy for CreateCheckoutSessionPhoneNumberCollection
impl Eq for CreateCheckoutSessionPhoneNumberCollection
impl StructuralPartialEq for CreateCheckoutSessionPhoneNumberCollection
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionPhoneNumberCollection
impl RefUnwindSafe for CreateCheckoutSessionPhoneNumberCollection
impl Send for CreateCheckoutSessionPhoneNumberCollection
impl Sync for CreateCheckoutSessionPhoneNumberCollection
impl Unpin for CreateCheckoutSessionPhoneNumberCollection
impl UnsafeUnpin for CreateCheckoutSessionPhoneNumberCollection
impl UnwindSafe for CreateCheckoutSessionPhoneNumberCollection
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