pub struct UserDetails {
    pub _self: Option<String>,
    pub name: Option<String>,
    pub key: Option<String>,
    pub account_id: Option<String>,
    pub email_address: Option<String>,
    pub avatar_urls: Option<AvatarUrlsBean>,
    pub display_name: Option<String>,
    pub active: Option<bool>,
    pub time_zone: Option<String>,
    pub account_type: Option<String>,
}
Expand description

UserDetails : User details permitted by the user’s Atlassian Account privacy settings. However, be aware of these exceptions: * User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, displayName provides an indication and other parameters have default values or are blank (for example, email is blank). * User record corrupted: This occurs as a results of events such as a server import and can only happen to deleted users. In this case, accountId returns unknown and all other parameters have fallback values. * User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.

Fields

_self: Option<String>

The URL of the user.

name: Option<String>

This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details.

key: Option<String>

This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details.

account_id: Option<String>

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

email_address: Option<String>

The email address of the user. Depending on the user’s privacy settings, this may be returned as null.

avatar_urls: Option<AvatarUrlsBean>

The avatars of the user.

display_name: Option<String>

The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.

active: Option<bool>

Whether the user is active.

time_zone: Option<String>

The time zone specified in the user’s profile. Depending on the user’s privacy settings, this may be returned as null.

account_type: Option<String>

The type of account represented by this user. This will be one of ‘atlassian’ (normal users), ‘app’ (application user) or ‘customer’ (Jira Service Desk customer user)

Implementations

User details permitted by the user’s Atlassian Account privacy settings. However, be aware of these exceptions: * User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, displayName provides an indication and other parameters have default values or are blank (for example, email is blank). * User record corrupted: This occurs as a results of events such as a server import and can only happen to deleted users. In this case, accountId returns unknown and all other parameters have fallback values. * User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more