pub struct FullRole {
pub parent_role_id: Option<i32>,
pub name: Option<String>,
pub id: Option<i32>,
pub active_flag: Option<bool>,
pub assignment_count: Option<String>,
pub sub_role_count: Option<String>,
pub level: Option<i32>,
}
Fields§
§parent_role_id: Option<i32>
The ID of the parent role
name: Option<String>
The name of the role
id: Option<i32>
The ID of the role
active_flag: Option<bool>
Whether the role is active or not
assignment_count: Option<String>
The number of users assigned to this role
sub_role_count: Option<String>
The number of sub-roles
level: Option<i32>
The level of role in the role hierarchy
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FullRole
impl<'de> Deserialize<'de> for FullRole
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 StructuralPartialEq for FullRole
Auto Trait Implementations§
impl Freeze for FullRole
impl RefUnwindSafe for FullRole
impl Send for FullRole
impl Sync for FullRole
impl Unpin for FullRole
impl UnwindSafe for FullRole
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