pub struct BrandingConfig {
pub site_name: Option<String>,
pub logo_url: Option<String>,
pub primary_color: Option<String>,
}Fields§
§site_name: Option<String>§logo_url: Option<String>§primary_color: Option<String>Trait Implementations§
Source§impl Clone for BrandingConfig
impl Clone for BrandingConfig
Source§fn clone(&self) -> BrandingConfig
fn clone(&self) -> BrandingConfig
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 BrandingConfig
impl Debug for BrandingConfig
Source§impl Default for BrandingConfig
impl Default for BrandingConfig
Source§fn default() -> BrandingConfig
fn default() -> BrandingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrandingConfig
impl<'de> Deserialize<'de> for BrandingConfig
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 BrandingConfig
impl RefUnwindSafe for BrandingConfig
impl Send for BrandingConfig
impl Sync for BrandingConfig
impl Unpin for BrandingConfig
impl UnwindSafe for BrandingConfig
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