pub enum AuthStatus {
None,
Ok,
ApiKeyUnmatched,
ApiKeyMisplaced,
UuidRequired,
SecurityNumberRequired,
TimedOut,
InvalidTimestamp,
}
Expand description
Defines authentication status based on the first rule that fails validation If the decoded string cannot be parsed at all, the status will be None
Variants§
None
Ok
ApiKeyUnmatched
ApiKeyMisplaced
UuidRequired
SecurityNumberRequired
TimedOut
InvalidTimestamp
Implementations§
Trait Implementations§
Source§impl Clone for AuthStatus
impl Clone for AuthStatus
Source§fn clone(&self) -> AuthStatus
fn clone(&self) -> AuthStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthStatus
impl Debug for AuthStatus
Source§impl PartialEq for AuthStatus
impl PartialEq for AuthStatus
impl Copy for AuthStatus
impl StructuralPartialEq for AuthStatus
Auto Trait Implementations§
impl Freeze for AuthStatus
impl RefUnwindSafe for AuthStatus
impl Send for AuthStatus
impl Sync for AuthStatus
impl Unpin for AuthStatus
impl UnwindSafe for AuthStatus
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