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_: PaymentPagesCheckoutSessionCustomFieldsLabelType
The 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 copy 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 Default for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Default for PaymentPagesCheckoutSessionCustomFieldsLabel
source§fn default() -> PaymentPagesCheckoutSessionCustomFieldsLabel
fn default() -> PaymentPagesCheckoutSessionCustomFieldsLabel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFieldsLabel
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFieldsLabel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsLabel
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Send for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Sync for PaymentPagesCheckoutSessionCustomFieldsLabel
impl Unpin 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