Enum gitlab::types::UserState
[−]
[src]
pub enum UserState {
Active,
Blocked,
LdapBlocked,
}The states a user account can be in.
Variants
ActiveThe user is active and may perform actions.
BlockedBlocked from logging in.
LdapBlockedBlocked from logging in via LDAP.
Methods
impl UserState[src]
Trait Implementations
impl Debug for UserState[src]
impl Clone for UserState[src]
fn clone(&self) -> UserState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for UserState[src]
impl PartialEq for UserState[src]
fn eq(&self, __arg_0: &UserState) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for UserState[src]
impl Serialize for UserState[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer
Serialize this value into the given Serde serializer. Read more
impl Deserialize for UserState[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more