[][src]Struct login_app::registration::Registration

pub struct Registration { /* fields omitted */ }

Implementations

impl Registration[src]

pub fn instance(
    email: &str,
    password: &str,
    repeat_password: &str,
    token: &str
) -> Registration
[src]

pub fn new(email: &str, pwd: &str, repeat_pwd: &str) -> Result<Msg, Vec<Msg>>[src]

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

pub fn from_json_map(map: &Map<String, Value>) -> Result<Msg, Vec<Msg>>[src]

pub fn from_email_id(id: &str) -> Registration[src]

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Debug for Registration[src]

Auto Trait Implementations

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