Struct rocket_auth::Signup[][src]

pub struct Signup {
    pub email: String,
    // some fields omitted
}

The Signup form is used along with the Auth guard to create new users.

Fields

email: String

Implementations

impl Signup[src]

pub fn is_valid(&self) -> Result<(), Error>[src]

It checks whether the form is valid. It is not necesay to check if a form is valid when using Auth::signup, since that function does it already.

Trait Implementations

impl Clone for Signup[src]

impl Debug for Signup[src]

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

impl From<Signup> for Login[src]

impl<'__f> FromForm<'__f> for Signup[src]

type Error = FormParseError<'__f>

The associated error to be returned when parsing fails.

Auto Trait Implementations

impl RefUnwindSafe for Signup

impl Send for Signup

impl Sync for Signup

impl Unpin for Signup

impl UnwindSafe for Signup

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

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<T> Erased for T

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

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

impl<T> IntoCollection<T> for T

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<T> Typeable for T where
    T: Any

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