pub struct PaymentPagesCheckoutSessionBrandingSettings {
pub background_color: String,
pub border_style: PaymentPagesCheckoutSessionBrandingSettingsBorderStyle,
pub button_color: String,
pub display_name: String,
pub font_family: String,
pub icon: Option<PaymentPagesCheckoutSessionBrandingSettingsIcon>,
pub logo: Option<PaymentPagesCheckoutSessionBrandingSettingsLogo>,
}
Fields§
§background_color: String
A hex color value starting with #
representing the background color for the Checkout Session.
border_style: PaymentPagesCheckoutSessionBrandingSettingsBorderStyle
The border style for the Checkout Session. Must be one of rounded
, rectangular
, or pill
.
A hex color value starting with #
representing the button color for the Checkout Session.
display_name: String
The display name shown on the Checkout Session.
font_family: String
The font family for the Checkout Session. Must be one of the supported font families.
icon: Option<PaymentPagesCheckoutSessionBrandingSettingsIcon>
The icon for the Checkout Session. You cannot set both logo
and icon
.
logo: Option<PaymentPagesCheckoutSessionBrandingSettingsLogo>
The logo for the Checkout Session. You cannot set both logo
and icon
.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionBrandingSettings
impl Clone for PaymentPagesCheckoutSessionBrandingSettings
Source§fn clone(&self) -> PaymentPagesCheckoutSessionBrandingSettings
fn clone(&self) -> PaymentPagesCheckoutSessionBrandingSettings
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 PaymentPagesCheckoutSessionBrandingSettings
impl FromValueOpt for PaymentPagesCheckoutSessionBrandingSettings
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionBrandingSettings
impl RefUnwindSafe for PaymentPagesCheckoutSessionBrandingSettings
impl Send for PaymentPagesCheckoutSessionBrandingSettings
impl Sync for PaymentPagesCheckoutSessionBrandingSettings
impl Unpin for PaymentPagesCheckoutSessionBrandingSettings
impl UnwindSafe for PaymentPagesCheckoutSessionBrandingSettings
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