pub struct PaymentPagesCheckoutSessionBrandingSettingsIcon {
pub file: Option<String>,
pub type_: PaymentPagesCheckoutSessionBrandingSettingsIconType,
pub url: Option<String>,
}
Fields§
§file: Option<String>
The ID of a File upload representing the icon.
Purpose must be business_icon
.
Required if type
is file
and disallowed otherwise.
type_: PaymentPagesCheckoutSessionBrandingSettingsIconType
The type of image for the icon. Must be one of file
or url
.
url: Option<String>
The URL of the image. Present when type
is url
.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl Clone for PaymentPagesCheckoutSessionBrandingSettingsIcon
Source§fn clone(&self) -> PaymentPagesCheckoutSessionBrandingSettingsIcon
fn clone(&self) -> PaymentPagesCheckoutSessionBrandingSettingsIcon
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 PaymentPagesCheckoutSessionBrandingSettingsIcon
impl FromValueOpt for PaymentPagesCheckoutSessionBrandingSettingsIcon
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl RefUnwindSafe for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl Send for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl Sync for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl Unpin for PaymentPagesCheckoutSessionBrandingSettingsIcon
impl UnwindSafe for PaymentPagesCheckoutSessionBrandingSettingsIcon
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