#[repr(i32)]pub enum EAuthTokenState {
KEAuthTokenStateInvalid = 0,
KEAuthTokenStateNew = 1,
KEAuthTokenStateConfirmed = 2,
KEAuthTokenStateIssued = 3,
KEAuthTokenStateDenied = 4,
KEAuthTokenStateLoggedOut = 5,
KEAuthTokenStateConsumed = 6,
KEAuthTokenStateRevoked = 99,
}Variants§
KEAuthTokenStateInvalid = 0
KEAuthTokenStateNew = 1
KEAuthTokenStateConfirmed = 2
KEAuthTokenStateIssued = 3
KEAuthTokenStateDenied = 4
KEAuthTokenStateLoggedOut = 5
KEAuthTokenStateConsumed = 6
KEAuthTokenStateRevoked = 99
Implementations§
Source§impl EAuthTokenState
impl EAuthTokenState
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for EAuthTokenState
impl Clone for EAuthTokenState
Source§fn clone(&self) -> EAuthTokenState
fn clone(&self) -> EAuthTokenState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EAuthTokenState
Source§impl Debug for EAuthTokenState
impl Debug for EAuthTokenState
Source§impl Default for EAuthTokenState
impl Default for EAuthTokenState
Source§fn default() -> EAuthTokenState
fn default() -> EAuthTokenState
Returns the “default value” for a type. Read more
impl Eq for EAuthTokenState
Source§impl From<EAuthTokenState> for i32
impl From<EAuthTokenState> for i32
Source§fn from(value: EAuthTokenState) -> i32
fn from(value: EAuthTokenState) -> i32
Converts to this type from the input type.
Source§impl Hash for EAuthTokenState
impl Hash for EAuthTokenState
Source§impl Ord for EAuthTokenState
impl Ord for EAuthTokenState
Source§fn cmp(&self, other: &EAuthTokenState) -> Ordering
fn cmp(&self, other: &EAuthTokenState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EAuthTokenState
impl PartialEq for EAuthTokenState
Source§fn eq(&self, other: &EAuthTokenState) -> bool
fn eq(&self, other: &EAuthTokenState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EAuthTokenState
impl PartialOrd for EAuthTokenState
impl StructuralPartialEq for EAuthTokenState
Source§impl TryFrom<i32> for EAuthTokenState
impl TryFrom<i32> for EAuthTokenState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<EAuthTokenState, UnknownEnumValue>
fn try_from(value: i32) -> Result<EAuthTokenState, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EAuthTokenState
impl RefUnwindSafe for EAuthTokenState
impl Send for EAuthTokenState
impl Sync for EAuthTokenState
impl Unpin for EAuthTokenState
impl UnsafeUnpin for EAuthTokenState
impl UnwindSafe for EAuthTokenState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more