pub struct RoleColors {
pub primary_color: u32,
pub secondary_color: Option<u32>,
pub tertiary_color: Option<u32>,
}Fields§
§primary_color: u32§secondary_color: Option<u32>§tertiary_color: Option<u32>Trait Implementations§
Source§impl Clone for RoleColors
impl Clone for RoleColors
Source§fn clone(&self) -> RoleColors
fn clone(&self) -> RoleColors
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 RoleColors
impl Debug for RoleColors
Source§impl<'de> Deserialize<'de> for RoleColors
impl<'de> Deserialize<'de> for RoleColors
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 Hash for RoleColors
impl Hash for RoleColors
Source§impl PartialEq for RoleColors
impl PartialEq for RoleColors
Source§impl Serialize for RoleColors
impl Serialize for RoleColors
impl Eq for RoleColors
impl StructuralPartialEq for RoleColors
Auto Trait Implementations§
impl Freeze for RoleColors
impl RefUnwindSafe for RoleColors
impl Send for RoleColors
impl Sync for RoleColors
impl Unpin for RoleColors
impl UnwindSafe for RoleColors
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