pub struct CreateCheckoutSessionNameCollectionIndividual {
pub enabled: bool,
pub optional: Option<bool>,
}Expand description
Controls settings applied for collecting the customer’s individual name on the session.
Fields§
§enabled: boolEnable individual name collection on the Checkout Session. Defaults to false.
optional: Option<bool>Whether the customer is required to provide their name before completing the Checkout Session.
Defaults to false.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionNameCollectionIndividual
impl Clone for CreateCheckoutSessionNameCollectionIndividual
Source§fn clone(&self) -> CreateCheckoutSessionNameCollectionIndividual
fn clone(&self) -> CreateCheckoutSessionNameCollectionIndividual
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 CreateCheckoutSessionNameCollectionIndividual
impl Eq for CreateCheckoutSessionNameCollectionIndividual
impl StructuralPartialEq for CreateCheckoutSessionNameCollectionIndividual
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionNameCollectionIndividual
impl RefUnwindSafe for CreateCheckoutSessionNameCollectionIndividual
impl Send for CreateCheckoutSessionNameCollectionIndividual
impl Sync for CreateCheckoutSessionNameCollectionIndividual
impl Unpin for CreateCheckoutSessionNameCollectionIndividual
impl UnsafeUnpin for CreateCheckoutSessionNameCollectionIndividual
impl UnwindSafe for CreateCheckoutSessionNameCollectionIndividual
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