[][src]Struct login_app::login::Login

pub struct Login { /* fields omitted */ }

Implementations

impl Login[src]

pub fn authenticate(email: &str, password: &str) -> Result<Msg, Msg>[src]

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

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

pub fn forgot_password(email: &str) -> Result<Msg, Msg>[src]

pub fn forgot_password_expired(email: &str) -> Result<Msg, Msg>[src]

pub fn reset_password(
    map: &HashMap<String, String>,
    email: String
) -> Result<Msg, Vec<Msg>>
[src]

pub fn wait_to_expire_forgot_password_token(delay: u64, email: String)[src]

Trait Implementations

impl Debug for Login[src]

Auto Trait Implementations

impl RefUnwindSafe for Login

impl Send for Login

impl Sync for Login

impl Unpin for Login

impl UnwindSafe for Login

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> 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, 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>,