pub struct PaymentPagesCheckoutSessionCustomFieldsOption {
pub label: String,
pub value: String,
}
Fields§
§label: String
The label for the option, displayed to the customer. Up to 100 characters.
value: String
The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFieldsOption
impl Clone for PaymentPagesCheckoutSessionCustomFieldsOption
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsOption
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsOption
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 PaymentPagesCheckoutSessionCustomFieldsOption
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsOption
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsOption
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsOption
impl Send for PaymentPagesCheckoutSessionCustomFieldsOption
impl Sync for PaymentPagesCheckoutSessionCustomFieldsOption
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsOption
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsOption
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