Struct backend::models::user::UserResetInfo [−][src]
pub struct UserResetInfo<'r> {
pub password: &'r str,
pub email: &'r str,
pub verification_code: &'r str,
}Expand description
User Reset Info
Fields
password: &str, user’s passwordemail: &str, user’s emailverification_code: &str, verification code
Fields
password: &'r stremail: &'r strverification_code: &'r strTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<'r> RefUnwindSafe for UserResetInfo<'r>
impl<'r> Send for UserResetInfo<'r>
impl<'r> Sync for UserResetInfo<'r>
impl<'r> Unpin for UserResetInfo<'r>
impl<'r> UnwindSafe for UserResetInfo<'r>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more