pub struct BrandingSettingsParams {
pub icon: Option<String>,
pub logo: Option<String>,
pub primary_color: Option<String>,
pub secondary_color: Option<String>,
}
Fields§
§icon: Option<String>
(ID of a file upload) An icon for the account.
Must be square and at least 128px x 128px.
logo: Option<String>
(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 BrandingSettingsParams
impl Clone for BrandingSettingsParams
source§fn clone(&self) -> BrandingSettingsParams
fn clone(&self) -> BrandingSettingsParams
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 Debug for BrandingSettingsParams
impl Debug for BrandingSettingsParams
source§impl Default for BrandingSettingsParams
impl Default for BrandingSettingsParams
source§fn default() -> BrandingSettingsParams
fn default() -> BrandingSettingsParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BrandingSettingsParams
impl<'de> Deserialize<'de> for BrandingSettingsParams
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 RefUnwindSafe for BrandingSettingsParams
impl Send for BrandingSettingsParams
impl Sync for BrandingSettingsParams
impl Unpin for BrandingSettingsParams
impl UnwindSafe for BrandingSettingsParams
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