pub struct PaymentPagesCheckoutSessionCustomFieldsLabel {
pub custom: Option<String>,
pub type_: PaymentPagesCheckoutSessionCustomFieldsLabelType,
}Fields§
§custom: Option<String>Custom text for the label, displayed to the customer. Up to 50 characters.
type_: PaymentPagesCheckoutSessionCustomFieldsLabelTypeThe type of the label.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Clone for PaymentPagesCheckoutSessionCustomFieldsLabel
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsLabel
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsLabel
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 moreSource§impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsLabel
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsLabel
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionCustomFieldsLabel
impl PartialEq for PaymentPagesCheckoutSessionCustomFieldsLabel
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFieldsLabel) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFieldsLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionCustomFieldsLabel
impl StructuralPartialEq for PaymentPagesCheckoutSessionCustomFieldsLabel
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsLabel
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Send for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Sync for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsLabel
impl UnsafeUnpin for PaymentPagesCheckoutSessionCustomFieldsLabel
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsLabel
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