[−][src]Struct gitlab::types::UserPublic
Full user structure information.
Fields
username: String
The username.
name: String
The display name.
id: UserId
The user's ID.
state: UserState
The state of the user account.
avatar_url: Option<String>
The URL of the user's avatar.
web_url: String
The 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.
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: String
Skype contact information.
linkedin: String
LinkedIn contact information.
twitter: String
Twitter contact information.
website_url: String
Custom 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: String
The primary email address for the user.
theme_id: Option<ThemeId>
The theme used by the user, if configured.
color_scheme_id: ColorSchemeId
The color scheme used by the user.
projects_limit: u64
The 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: bool
Whether the user can create groups.
can_create_project: bool
Whether the user can create a new project.
two_factor_enabled: bool
Whether the user has two-factor authentication enabled.
external: bool
Whether the account is externally controlled.
Trait Implementations
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 Clone for UserPublic
[src]
fn clone(&self) -> UserPublic
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UserPublic
[src]
impl Serialize for UserPublic
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for UserPublic
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for UserPublic
impl Unpin for UserPublic
impl Sync for UserPublic
impl UnwindSafe for UserPublic
impl RefUnwindSafe for UserPublic
Blanket Implementations
impl<T> UserResult for T where
T: Into<UserBasic> + DeserializeOwned,
[src]
T: Into<UserBasic> + DeserializeOwned,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,