pub struct CustomColors {
pub primary: Option<String>,
pub secondary: Option<String>,
pub success: Option<String>,
pub warning: Option<String>,
pub error: Option<String>,
}Expand description
Custom color overrides
Fields§
§primary: Option<String>Primary brand color override
secondary: Option<String>Secondary accent color override
success: Option<String>Success color override
warning: Option<String>Warning color override
error: Option<String>Error color override
Trait Implementations§
Source§impl Clone for CustomColors
impl Clone for CustomColors
Source§fn clone(&self) -> CustomColors
fn clone(&self) -> CustomColors
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 CustomColors
impl Debug for CustomColors
Source§impl Default for CustomColors
impl Default for CustomColors
Source§fn default() -> CustomColors
fn default() -> CustomColors
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CustomColors
impl RefUnwindSafe for CustomColors
impl Send for CustomColors
impl Sync for CustomColors
impl Unpin for CustomColors
impl UnwindSafe for CustomColors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).