[−][src]Struct gitlab::types::UserPublic
Full user structure information.
Fields
username: StringThe username.
name: StringThe display name.
id: UserIdThe user's ID.
state: UserStateThe state of the user account.
avatar_url: Option<String>The URL of the user's avatar.
web_url: StringThe URL of the user's profile page.
created_at: Option<DateTime<Utc>>When the account was created.
is_admin: Option<bool>Whether the user is an administrator or not.
Only available when talking to GitLab as an admin.
highest_role: Option<AccessLevel>The highest access level available to the user.
Only available when talking to GitLab as an admin.
bio: Option<String>Self-described biography of the user.
private_profile: Option<bool>Whether the account has a private profile.
location: Option<String>Geographic location of the user.
public_email: Option<String>User public email address, if any.
skype: StringSkype contact information.
linkedin: StringLinkedIn contact information.
twitter: StringTwitter contact information.
website_url: StringCustom URL for the user's website.
organization: Option<String>Organization the user belongs to.
last_sign_in_at: Option<DateTime<Utc>>When the user last logged in.
last_activity_on: Option<NaiveDate>When the user last made an action.
confirmed_at: Option<DateTime<Utc>>When the user's account was confirmed.
email: StringThe primary email address for the user.
theme_id: Option<ThemeId>The theme used by the user, if configured.
color_scheme_id: ColorSchemeIdThe color scheme used by the user.
projects_limit: u64The number of projects the user may create.
current_sign_in_at: Option<DateTime<Utc>>When the user's current session started.
identities: Vec<Identity>List of identities associated with the user.
can_create_group: boolWhether the user can create groups.
can_create_project: boolWhether the user can create a new project.
two_factor_enabled: boolWhether the user has two-factor authentication enabled.
external: boolWhether the account is externally controlled.
Trait Implementations
impl Clone for UserPublic[src]
fn clone(&self) -> UserPublic[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for UserPublic[src]
impl<'de> Deserialize<'de> for UserPublic[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<UserPublic> for UserBasic[src]
fn from(user: UserPublic) -> Self[src]
impl From<UserPublic> for User[src]
fn from(user: UserPublic) -> Self[src]
impl Serialize for UserPublic[src]
Auto Trait Implementations
impl RefUnwindSafe for UserPublic
impl Send for UserPublic
impl Sync for UserPublic
impl Unpin for UserPublic
impl UnwindSafe for UserPublic
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> UserResult for T where
T: Into<UserBasic> + DeserializeOwned, [src]
T: Into<UserBasic> + DeserializeOwned,