Enum gitlab::types::UserState [] [src]

pub enum UserState {
    Active,
    Blocked,
    LdapBlocked,
}

The states a user account can be in.

Variants

The user is active and may perform actions.

Blocked from logging in.

Blocked from logging in via LDAP.

Methods

impl UserState
[src]

String representation of the variant.

Trait Implementations

impl Debug for UserState
[src]

Formats the value using the given formatter.

impl Clone for UserState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UserState
[src]

impl PartialEq for UserState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UserState
[src]

impl Serialize for UserState
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more