pub struct CurrentBrand {Show 13 fields
pub matched_domain: String,
pub branding_title: String,
pub branding_logo: String,
pub branding_favicon: String,
pub ui_footer_links: Vec<FooterLink>,
pub ui_theme: UiThemeEnum,
pub flow_authentication: Option<String>,
pub flow_invalidation: Option<String>,
pub flow_recovery: Option<String>,
pub flow_unenrollment: Option<String>,
pub flow_user_settings: Option<String>,
pub flow_device_code: Option<String>,
pub default_locale: String,
}
Expand description
CurrentBrand : Partial brand information for styling
Fields§
§matched_domain: String
§branding_title: String
§branding_logo: String
§branding_favicon: String
§ui_theme: UiThemeEnum
§flow_authentication: Option<String>
§flow_invalidation: Option<String>
§flow_recovery: Option<String>
§flow_unenrollment: Option<String>
§flow_user_settings: Option<String>
§flow_device_code: Option<String>
§default_locale: String
Implementations§
Source§impl CurrentBrand
impl CurrentBrand
Sourcepub fn new(
matched_domain: String,
branding_title: String,
branding_logo: String,
branding_favicon: String,
ui_footer_links: Vec<FooterLink>,
ui_theme: UiThemeEnum,
default_locale: String,
) -> CurrentBrand
pub fn new( matched_domain: String, branding_title: String, branding_logo: String, branding_favicon: String, ui_footer_links: Vec<FooterLink>, ui_theme: UiThemeEnum, default_locale: String, ) -> CurrentBrand
Partial brand information for styling
Trait Implementations§
Source§impl Clone for CurrentBrand
impl Clone for CurrentBrand
Source§fn clone(&self) -> CurrentBrand
fn clone(&self) -> CurrentBrand
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 CurrentBrand
impl Debug for CurrentBrand
Source§impl Default for CurrentBrand
impl Default for CurrentBrand
Source§fn default() -> CurrentBrand
fn default() -> CurrentBrand
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CurrentBrand
impl<'de> Deserialize<'de> for CurrentBrand
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 CurrentBrand
impl PartialEq for CurrentBrand
Source§impl Serialize for CurrentBrand
impl Serialize for CurrentBrand
impl StructuralPartialEq for CurrentBrand
Auto Trait Implementations§
impl Freeze for CurrentBrand
impl RefUnwindSafe for CurrentBrand
impl Send for CurrentBrand
impl Sync for CurrentBrand
impl Unpin for CurrentBrand
impl UnwindSafe for CurrentBrand
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