#[non_exhaustive]pub enum AuthKind {
SignIn,
Register,
RequestReset,
ResetPassword {
token: String,
},
ConfirmPassword,
VerifyEmail,
}Expand description
The upstream AdminLTE authentication view to render. Your app handles authentication.
use oxblade_adminlte::AuthKind;
let view = AuthKind::SignIn;
assert_eq!(view, AuthKind::SignIn);Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SignIn
PHP’s login view.
Register
PHP’s registration view.
RequestReset
PHP’s password reset request view.
ResetPassword
PHP’s password reset form.
ConfirmPassword
PHP’s password confirmation view.
VerifyEmail
PHP’s resend-verification view.
Trait Implementations§
impl Eq for AuthKind
impl StructuralPartialEq for AuthKind
Auto Trait Implementations§
impl Forget for AuthKind
impl Freeze for AuthKind
impl Move for AuthKind
impl RefUnwindSafe for AuthKind
impl Send for AuthKindwhere
RawVecInner: Send,
impl Sync for AuthKindwhere
RawVecInner: Sync,
impl Unpin for AuthKind
impl UnsafeUnpin for AuthKind
impl UnwindSafe for AuthKindwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.