pub struct DirectoryUser {Show 19 fields
pub object: String,
pub id: String,
pub directory_id: String,
pub organization_id: String,
pub idp_id: String,
pub email: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub name: Option<String>,
pub emails: Option<Vec<DirectoryUserEmail>>,
pub job_title: Option<String>,
pub username: Option<String>,
pub state: DirectoryUserState,
pub raw_attributes: HashMap<String, Value>,
pub custom_attributes: HashMap<String, Value>,
pub role: Option<SlimRole>,
pub roles: Option<Vec<SlimRole>>,
pub created_at: String,
pub updated_at: String,
}Fields§
§object: StringDistinguishes the Directory User object.
id: StringUnique identifier for the Directory User.
directory_id: StringThe identifier of the Directory the Directory User belongs to.
organization_id: StringThe identifier for the Organization in which the Directory resides.
idp_id: StringUnique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
email: Option<String>The email address of the user.
first_name: Option<String>The first name of the user.
last_name: Option<String>The last name of the user.
name: Option<String>The full name of the user.
emails: Option<Vec<DirectoryUserEmail>>A list of email addresses for the user.
job_title: Option<String>The job title of the user.
username: Option<String>The username of the user.
state: DirectoryUserStateThe state of the user.
raw_attributes: HashMap<String, Value>The raw attributes received from the directory provider.
custom_attributes: HashMap<String, Value>An object containing the custom attribute mapping for the Directory Provider.
role: Option<SlimRole>§roles: Option<Vec<SlimRole>>All roles assigned to the user.
created_at: StringAn ISO 8601 timestamp.
updated_at: StringAn ISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for DirectoryUser
impl Clone for DirectoryUser
Source§fn clone(&self) -> DirectoryUser
fn clone(&self) -> DirectoryUser
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more