pub struct RegistrationData {Show 16 fields
pub registration_id: String,
pub email: Option<String>,
pub phone_number: Option<String>,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub name: Option<String>,
pub preferred_username: Option<String>,
pub picture: Option<String>,
pub website: Option<String>,
pub gender: Option<String>,
pub birthdate: Option<String>,
pub zoneinfo: Option<String>,
pub locale: Option<String>,
pub custom_fields: HashMap<String, Value>,
pub completed: bool,
pub created_at: u64,
}
Expand description
User registration data
Fields§
§registration_id: String
Unique registration session ID
email: Option<String>
User’s email address
phone_number: Option<String>
User’s phone number
given_name: Option<String>
User’s given name
family_name: Option<String>
User’s family name
name: Option<String>
User’s full name
preferred_username: Option<String>
User’s preferred username
picture: Option<String>
User’s profile picture URL
website: Option<String>
User’s website URL
gender: Option<String>
User’s gender
birthdate: Option<String>
User’s birthdate
zoneinfo: Option<String>
User’s timezone
locale: Option<String>
User’s locale
custom_fields: HashMap<String, Value>
Custom registration fields
completed: bool
Registration completion status
created_at: u64
Creation timestamp
Trait Implementations§
Source§impl Clone for RegistrationData
impl Clone for RegistrationData
Source§fn clone(&self) -> RegistrationData
fn clone(&self) -> RegistrationData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegistrationData
impl Debug for RegistrationData
Source§impl Default for RegistrationData
impl Default for RegistrationData
Source§fn default() -> RegistrationData
fn default() -> RegistrationData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistrationData
impl<'de> Deserialize<'de> for RegistrationData
Source§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 Freeze for RegistrationData
impl RefUnwindSafe for RegistrationData
impl Send for RegistrationData
impl Sync for RegistrationData
impl Unpin for RegistrationData
impl UnwindSafe for RegistrationData
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more