Struct ehelply::models::user_signup::UserSignup
source · pub struct UserSignup {
pub username: String,
pub password: String,
pub email: String,
pub first_name: String,
pub last_name: String,
pub phone_number: String,
pub country: String,
pub lat: Option<String>,
pub lng: Option<String>,
pub verified_legal_terms: Option<bool>,
pub picture: Option<String>,
pub newsletters: Option<bool>,
}
Expand description
UserSignup : User information used for user signup
Fields
username: String
password: String
email: String
first_name: String
last_name: String
phone_number: String
country: String
lat: Option<String>
lng: Option<String>
verified_legal_terms: Option<bool>
picture: Option<String>
Implementations
Trait Implementations
sourceimpl Clone for UserSignup
impl Clone for UserSignup
sourcefn clone(&self) -> UserSignup
fn clone(&self) -> UserSignup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserSignup
impl Debug for UserSignup
sourceimpl Default for UserSignup
impl Default for UserSignup
sourcefn default() -> UserSignup
fn default() -> UserSignup
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserSignup
impl<'de> Deserialize<'de> for UserSignup
sourcefn 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
sourceimpl PartialEq<UserSignup> for UserSignup
impl PartialEq<UserSignup> for UserSignup
sourcefn eq(&self, other: &UserSignup) -> bool
fn eq(&self, other: &UserSignup) -> bool
sourceimpl Serialize for UserSignup
impl Serialize for UserSignup
impl StructuralPartialEq for UserSignup
Auto Trait Implementations
impl RefUnwindSafe for UserSignup
impl Send for UserSignup
impl Sync for UserSignup
impl Unpin for UserSignup
impl UnwindSafe for UserSignup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more