pub struct AccountBrandingSettings {
pub icon: Option<Expandable<File>>,
pub logo: Option<Expandable<File>>,
pub primary_color: Option<String>,
pub secondary_color: Option<String>,
}
Fields§
§icon: Option<Expandable<File>>
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px.
logo: Option<Expandable<File>>
(ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account’s name next to it if provided. Must be at least 128px x 128px.
primary_color: Option<String>
A CSS hex color value representing the primary branding color for this account
secondary_color: Option<String>
A CSS hex color value representing the secondary branding color for this account
Trait Implementations§
Source§impl Clone for AccountBrandingSettings
impl Clone for AccountBrandingSettings
Source§fn clone(&self) -> AccountBrandingSettings
fn clone(&self) -> AccountBrandingSettings
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 Debug for AccountBrandingSettings
impl Debug for AccountBrandingSettings
Auto Trait Implementations§
impl Freeze for AccountBrandingSettings
impl RefUnwindSafe for AccountBrandingSettings
impl Send for AccountBrandingSettings
impl Sync for AccountBrandingSettings
impl Unpin for AccountBrandingSettings
impl UnwindSafe for AccountBrandingSettings
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