[][src]Enum login_app::messages::Msg

pub enum Msg {
    Active,
    CancellationFailed,
    CancellationSuccess,
    Cancelled,
    ConfirmationPending,
    DbError,
    DBUserRetrievalFailed,
    DeleteExpiredRegistrationSuccess,
    DeleteExpiredRegistrationFailed,
    DeletionFailed,
    DeletionSuccess,
    Dormant,
    EmailExist,
    EmailNotExist,
    EmailSent,
    EmailNotSent,
    EmailSentToCompleteRegistration,
    ExpiryCheckFailed,
    ForgotPasswordFailed,
    ForgotPasswordProcessed,
    ForgotPasswordPending,
    ForgotPasswordTokenExpired,
    GetUnconfirmedUserRecordFailed,
    GetUnconfirmedUserRecordSuccess,
    InvalidCredentials,
    InvalidEmailPattern,
    InvalidPasswordPattern,
    InvalidToken,
    LoginSucceeded,
    NewRegistrationFailed,
    NoEmailFoundCancellationFailed,
    NoEmailFoundDeleteFailed,
    NoneFound,
    PasswordsDoNotMatch,
    PasswordsMatch,
    PasswordHasLowercase,
    PasswordHasNoLowercase,
    PasswordHasUppercase,
    PasswordHasNoUppercase,
    PasswordHasNumber,
    PasswordHasNoNumber,
    PasswordHasSplChar,
    PasswordHasNoSplChar,
    PasswordLengthOk,
    PasswordLengthNotOk,
    RegexFailedOnEmail,
    RegexFailedOnPassword,
    RegexFailedOnPasswordLowercase,
    RegexFailedOnPasswordUppercase,
    RegexFailedOnPasswordNumber,
    RegexFailedOnPasswordSplChar,
    RegexFailedOnPasswordLength,
    RegistrationConfirmed,
    RegistrationAlreadyConfirmed,
    RegistrationConfirmationFailed,
    RegistrationInitialRemarks,
    RegistrationRetrievalFailed,
    ResetPasswordFailed,
    ResetPasswordProcessed,
    StatusUpdated,
    StatusUpdateFailed,
    UserRetrievalFailed,
    ValidEmailPattern,
    ValidPasswordPattern,
    ValidationsPassed,
}

Variants

Active
CancellationFailed
CancellationSuccess
Cancelled
ConfirmationPending
DbError
DBUserRetrievalFailed
DeleteExpiredRegistrationSuccess
DeleteExpiredRegistrationFailed
DeletionFailed
DeletionSuccess
Dormant
EmailExist
EmailNotExist
EmailSent
EmailNotSent
EmailSentToCompleteRegistration
ExpiryCheckFailed
ForgotPasswordFailed
ForgotPasswordProcessed
ForgotPasswordPending
ForgotPasswordTokenExpired
GetUnconfirmedUserRecordFailed
GetUnconfirmedUserRecordSuccess
InvalidCredentials
InvalidEmailPattern
InvalidPasswordPattern
InvalidToken
LoginSucceeded
NewRegistrationFailed
NoEmailFoundCancellationFailed
NoEmailFoundDeleteFailed
NoneFound
PasswordsDoNotMatch
PasswordsMatch
PasswordHasLowercase
PasswordHasNoLowercase
PasswordHasUppercase
PasswordHasNoUppercase
PasswordHasNumber
PasswordHasNoNumber
PasswordHasSplChar
PasswordHasNoSplChar
PasswordLengthOk
PasswordLengthNotOk
RegexFailedOnEmail
RegexFailedOnPassword
RegexFailedOnPasswordLowercase
RegexFailedOnPasswordUppercase
RegexFailedOnPasswordNumber
RegexFailedOnPasswordSplChar
RegexFailedOnPasswordLength
RegistrationConfirmed
RegistrationAlreadyConfirmed
RegistrationConfirmationFailed
RegistrationInitialRemarks
RegistrationRetrievalFailed
ResetPasswordFailed
ResetPasswordProcessed
StatusUpdated
StatusUpdateFailed
UserRetrievalFailed
ValidEmailPattern
ValidPasswordPattern
ValidationsPassed

Implementations

impl Msg[src]

pub fn key_for(description: &str) -> Self[src]

pub fn description(&self) -> String[src]

Trait Implementations

impl Clone for Msg[src]

impl Copy for Msg[src]

impl Debug for Msg[src]

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

impl Eq for Msg[src]

impl From<Error> for Msg[src]

impl Hash for Msg[src]

impl PartialEq<Msg> for Msg[src]

impl Serialize for Msg[src]

impl StructuralEq for Msg[src]

impl StructuralPartialEq for Msg[src]

Auto Trait Implementations

impl RefUnwindSafe for Msg

impl Send for Msg

impl Sync for Msg

impl Unpin for Msg

impl UnwindSafe for Msg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,