pub struct BrandConfig {
pub name: Option<String>,
pub logo: Option<String>,
pub subtitle: Option<String>,
}Fields§
§name: Option<String>§logo: Option<String>§subtitle: Option<String>Trait Implementations§
Source§impl Clone for BrandConfig
impl Clone for BrandConfig
Source§fn clone(&self) -> BrandConfig
fn clone(&self) -> BrandConfig
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 BrandConfig
impl Debug for BrandConfig
Source§impl Default for BrandConfig
impl Default for BrandConfig
Source§fn default() -> BrandConfig
fn default() -> BrandConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrandConfigwhere
BrandConfig: Default,
impl<'de> Deserialize<'de> for BrandConfigwhere
BrandConfig: Default,
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
Source§impl PartialEq for BrandConfig
impl PartialEq for BrandConfig
Source§impl Serialize for BrandConfig
impl Serialize for BrandConfig
impl StructuralPartialEq for BrandConfig
Auto Trait Implementations§
impl Freeze for BrandConfig
impl RefUnwindSafe for BrandConfig
impl Send for BrandConfig
impl Sync for BrandConfig
impl Unpin for BrandConfig
impl UnsafeUnpin for BrandConfig
impl UnwindSafe for BrandConfig
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