sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// NewRole
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct NewRole {
    /// The unique identifier of the Sideko object
    pub object_id: String,
    /// The object types that roles can be assigned to.
    pub object_type: crate::models::ObjectTypeEnum,
    pub role_definition_id: crate::models::RoleDefinitionIdEnum,
    /// unique identifier for the user that the role will be granted to
    pub user_id: String,
}