Struct stripe::BrandingSettingsParams
source · 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