pub struct BrandingSettings {
pub brand_color: String,
pub brand_logo: Option<String>,
pub unsubscribe_heading: Option<String>,
pub unsubscribe_message: Option<String>,
pub unsubscribe_redirect_url: Option<String>,
}Expand description
Branding settings.
Fields§
§brand_color: StringHex colour.
brand_logo: Option<String>Logo URL.
unsubscribe_heading: Option<String>Unsubscribe page heading.
unsubscribe_message: Option<String>Unsubscribe page message.
unsubscribe_redirect_url: Option<String>Post-unsubscribe redirect URL.
Trait Implementations§
Source§impl Clone for BrandingSettings
impl Clone for BrandingSettings
Source§fn clone(&self) -> BrandingSettings
fn clone(&self) -> BrandingSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrandingSettings
impl Debug for BrandingSettings
Source§impl<'de> Deserialize<'de> for BrandingSettings
impl<'de> Deserialize<'de> for BrandingSettings
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 Freeze for BrandingSettings
impl RefUnwindSafe for BrandingSettings
impl Send for BrandingSettings
impl Sync for BrandingSettings
impl Unpin for BrandingSettings
impl UnsafeUnpin for BrandingSettings
impl UnwindSafe for BrandingSettings
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