pub struct SubRole {
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>,
}
Expand description
SubRole : The details of the sub-role
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
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubRole
impl<'de> Deserialize<'de> for SubRole
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 SubRole
Auto Trait Implementations§
impl Freeze for SubRole
impl RefUnwindSafe for SubRole
impl Send for SubRole
impl Sync for SubRole
impl Unpin for SubRole
impl UnwindSafe for SubRole
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