Struct ehelply::models::user_response::UserResponse
source · [−]pub struct UserResponse {Show 16 fields
pub first_name: Option<String>,
pub last_name: Option<String>,
pub phone_number: Option<String>,
pub country: Option<String>,
pub picture: Option<String>,
pub gps_location: Option<Value>,
pub verified_legal_terms: Option<bool>,
pub date_created: Option<String>,
pub date_updated: Option<String>,
pub date_deleted: Option<String>,
pub email: Option<Box<UserEmail>>,
pub missing: Option<Vec<String>>,
pub uuid: Option<String>,
pub participants: Option<Vec<Value>>,
pub flags: Option<Box<UserFlags>>,
pub last_login: Option<String>,
}
Expand description
UserResponse : When retrieving a user
Fields
first_name: Option<String>
last_name: Option<String>
phone_number: Option<String>
country: Option<String>
picture: Option<String>
gps_location: Option<Value>
verified_legal_terms: Option<bool>
date_created: Option<String>
date_updated: Option<String>
date_deleted: Option<String>
email: Option<Box<UserEmail>>
missing: Option<Vec<String>>
uuid: Option<String>
participants: Option<Vec<Value>>
flags: Option<Box<UserFlags>>
last_login: Option<String>
Implementations
sourceimpl UserResponse
impl UserResponse
sourcepub fn new() -> UserResponse
pub fn new() -> UserResponse
When retrieving a user
Trait Implementations
sourceimpl Clone for UserResponse
impl Clone for UserResponse
sourcefn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
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 UserResponse
impl Debug for UserResponse
sourceimpl Default for UserResponse
impl Default for UserResponse
sourcefn default() -> UserResponse
fn default() -> UserResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserResponse
impl<'de> Deserialize<'de> for UserResponse
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<UserResponse> for UserResponse
impl PartialEq<UserResponse> for UserResponse
sourcefn eq(&self, other: &UserResponse) -> bool
fn eq(&self, other: &UserResponse) -> bool
sourceimpl Serialize for UserResponse
impl Serialize for UserResponse
impl StructuralPartialEq for UserResponse
Auto Trait Implementations
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnwindSafe for UserResponse
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