pub struct RoleInformation {
pub name: String,
pub color: Option<Color>,
pub hoist: Option<bool>,
pub rank: Option<usize>,
}Fields§
§name: String§color: Option<Color>§hoist: Option<bool>§rank: Option<usize>Trait Implementations§
Source§impl Clone for RoleInformation
impl Clone for RoleInformation
Source§fn clone(&self) -> RoleInformation
fn clone(&self) -> RoleInformation
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 RoleInformation
impl Debug for RoleInformation
Source§impl<'de> Deserialize<'de> for RoleInformation
impl<'de> Deserialize<'de> for RoleInformation
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 RoleInformation
impl Hash for RoleInformation
Source§impl Ord for RoleInformation
impl Ord for RoleInformation
Source§fn cmp(&self, other: &RoleInformation) -> Ordering
fn cmp(&self, other: &RoleInformation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RoleInformation
impl PartialEq for RoleInformation
Source§impl PartialOrd for RoleInformation
impl PartialOrd for RoleInformation
Source§impl Serialize for RoleInformation
impl Serialize for RoleInformation
impl Eq for RoleInformation
impl StructuralPartialEq for RoleInformation
Auto Trait Implementations§
impl Freeze for RoleInformation
impl RefUnwindSafe for RoleInformation
impl Send for RoleInformation
impl Sync for RoleInformation
impl Unpin for RoleInformation
impl UnwindSafe for RoleInformation
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