Struct gitlab::types::UserBasic
[−]
[src]
pub struct UserBasic {
pub username: String,
pub name: String,
pub id: UserId,
pub state: UserState,
pub avatar_url: 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: String
The URL of the user's avatar.
web_url: String
The URL of the user's profile page.
Trait Implementations
impl Debug for UserBasic[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for UserBasic[src]
fn clone(&self) -> UserBasic[src]
Returns a copy of the value. Read more
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]
fn from(user: UserPublic) -> Self[src]
Performs the conversion.
impl From<Member> for UserBasic[src]
impl From<AccessRequester> for UserBasic[src]
fn from(member: AccessRequester) -> Self[src]
Performs the conversion.