Struct gitlab::types::UserBasic [−][src]
pub struct UserBasic {
pub username: String,
pub name: String,
pub id: UserId,
pub state: UserState,
pub avatar_url: Option<String>,
pub web_url: String,
}Expand description
Basic user 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.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for UserBasic
impl UnwindSafe for UserBasic
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more