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