1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/// AuthRole : Specifies the role maps privileges to users and groups. #[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct AuthRole { /// Specifies the description of the role. #[serde(rename = "description")] pub description: Option<String>, /// Specifies the users or groups that have this role. #[serde(rename = "members")] pub members: Option<Vec <crate::models::AuthAccessAccessItemFileGroup>>, /// Specifies the name of the role. #[serde(rename = "name")] pub name: Option<String>, /// Specifies the privileges granted by this role. #[serde(rename = "privileges")] pub privileges: Option<Vec <crate::models::AuthIdNtokenPrivilegeItem>>, }