pub struct ParticipantUserReturn {Show 14 fields
pub uuid: Option<String>,
pub user_uuid: Option<String>,
pub participant_meta: Option<Value>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<Box<Email>>,
pub phone_number: Option<String>,
pub country: Option<String>,
pub gps_location: Option<Value>,
pub picture: Option<String>,
pub last_login: Option<String>,
pub verified_legal_terms: Option<bool>,
pub date_created: Option<String>,
pub date_updated: Option<String>,
}
Expand description
ParticipantUserReturn : Contains all fields required when doing a Participant GET but also has user fields (name, location, ect). This is what is returned from all participant endpoints.
Fields
uuid: Option<String>
user_uuid: Option<String>
participant_meta: Option<Value>
first_name: Option<String>
last_name: Option<String>
email: Option<Box<Email>>
phone_number: Option<String>
country: Option<String>
gps_location: Option<Value>
picture: Option<String>
last_login: Option<String>
verified_legal_terms: Option<bool>
date_created: Option<String>
date_updated: Option<String>
Implementations
sourceimpl ParticipantUserReturn
impl ParticipantUserReturn
sourcepub fn new() -> ParticipantUserReturn
pub fn new() -> ParticipantUserReturn
Contains all fields required when doing a Participant GET but also has user fields (name, location, ect). This is what is returned from all participant endpoints.
Trait Implementations
sourceimpl Clone for ParticipantUserReturn
impl Clone for ParticipantUserReturn
sourcefn clone(&self) -> ParticipantUserReturn
fn clone(&self) -> ParticipantUserReturn
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 ParticipantUserReturn
impl Debug for ParticipantUserReturn
sourceimpl Default for ParticipantUserReturn
impl Default for ParticipantUserReturn
sourcefn default() -> ParticipantUserReturn
fn default() -> ParticipantUserReturn
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ParticipantUserReturn
impl<'de> Deserialize<'de> for ParticipantUserReturn
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<ParticipantUserReturn> for ParticipantUserReturn
impl PartialEq<ParticipantUserReturn> for ParticipantUserReturn
sourcefn eq(&self, other: &ParticipantUserReturn) -> bool
fn eq(&self, other: &ParticipantUserReturn) -> bool
sourceimpl Serialize for ParticipantUserReturn
impl Serialize for ParticipantUserReturn
impl StructuralPartialEq for ParticipantUserReturn
Auto Trait Implementations
impl RefUnwindSafe for ParticipantUserReturn
impl Send for ParticipantUserReturn
impl Sync for ParticipantUserReturn
impl Unpin for ParticipantUserReturn
impl UnwindSafe for ParticipantUserReturn
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