Struct gitlab::types::UserPublic [] [src]

pub struct UserPublic {
    pub username: String,
    pub name: String,
    pub id: UserId,
    pub state: UserState,
    pub avatar_url: String,
    pub web_url: String,
    pub created_at: DateTime<UTC>,
    pub is_admin: bool,
    pub bio: Option<String>,
    pub location: Option<String>,
    pub skype: String,
    pub linkedin: String,
    pub twitter: String,
    pub website_url: String,
    pub organization: Option<String>,
    pub last_sign_in_at: Option<DateTime<UTC>>,
    pub confirmed_at: DateTime<UTC>,
    pub email: String,
    pub color_scheme_id: ColorSchemeId,
    pub projects_limit: u64,
    pub current_sign_in_at: Option<DateTime<UTC>>,
    pub identities: Vec<Identity>,
    pub can_create_group: bool,
    pub can_create_project: bool,
    pub two_factor_enabled: bool,
    pub external: bool,
}

Full user structure information.

Fields

The username.

The display name.

The user's ID.

The state of the user account.

The URL of the user's avatar.

The URL of the user's profile page.

When the account was created.

Whether the user is an administrator or not.

Self-described biography of the user.

Geographic location of the user.

Skype contact information.

LinkedIn contact information.

Twitter contact information.

Custom URL for the user's website.

Organization the user belongs to.

When the user last logged in.

When the user's account was confirmed.

The primary email address for the user.

The color scheme used by the user.

The number of projects the user may create.

When the user's current session started.

List of identities associated with the user.

Whether the user can create groups.

Whether the user can create a new project.

Whether the user has two-factor authentication enabled.

Whether the account is externally controlled.

Trait Implementations

impl Debug for UserPublic
[src]

Formats the value using the given formatter.

impl Clone for UserPublic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more