[][src]Struct gitlab::types::UserBasic

pub struct UserBasic {
    pub username: String,
    pub name: String,
    pub id: UserId,
    pub state: UserState,
    pub avatar_url: Option<String>,
    pub web_url: String,
}

Basic user 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.

Trait Implementations

impl Clone for UserBasic[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<User> for UserBasic[src]

impl From<UserPublic> for UserBasic[src]

impl From<Member> for UserBasic[src]

impl From<AccessRequester> for UserBasic[src]

impl Debug for UserBasic[src]

impl Serialize for UserBasic[src]

impl<'de> Deserialize<'de> for UserBasic[src]

Auto Trait Implementations

impl Send for UserBasic

impl Sync for UserBasic

Blanket Implementations

impl<T> UserResult for T where
    T: Into<UserBasic> + DeserializeOwned
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T