pub struct GroupRole {
pub id: u64,
pub name: String,
pub rank: u8,
pub member_count: Option<u64>,
pub description: Option<String>,
}Fields§
§id: u64§name: String§rank: u8§member_count: Option<u64>How many users have the role
description: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupRole
impl<'de> Deserialize<'de> for GroupRole
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
impl Eq for GroupRole
impl StructuralPartialEq for GroupRole
Auto Trait Implementations§
impl Freeze for GroupRole
impl RefUnwindSafe for GroupRole
impl Send for GroupRole
impl Sync for GroupRole
impl Unpin for GroupRole
impl UnwindSafe for GroupRole
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