Struct backend::models::user::UserInfo [−][src]
pub struct UserInfo<'r> {
pub username: &'r str,
pub password: &'r str,
pub email: &'r str,
pub verification_code: &'r str,
}Expand description
User Info
Fields
username: &str, usernamepassword: &str, user’s passwordemail: &str, user’s emailverification_code: &str, verification code
Fields
username: &'r strpassword: &'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 UserInfo<'r>
impl<'r> UnwindSafe for UserInfo<'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