pub struct VerifyEmailRequest {
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub type_: Type,
pub url_parameters: Option<UrlParameters>,
pub verify_email: String,
}
Expand description
Verify an email address for various purposes. The system will send an email to the address containing a security code for verification.
Fields§
§loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
type_: Type
Purpose of email verification, request_email and reset_password are the only two types restricted from all unoffical apps\n
url_parameters: Option<UrlParameters>
[Optional] Extra parameters that can be attached to the verify email link URL.\n
verify_email: String
Email address to be verified.\n
Trait Implementations§
Source§impl Clone for VerifyEmailRequest
impl Clone for VerifyEmailRequest
Source§fn clone(&self) -> VerifyEmailRequest
fn clone(&self) -> VerifyEmailRequest
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 VerifyEmailRequest
impl Debug for VerifyEmailRequest
Source§impl<'de> Deserialize<'de> for VerifyEmailRequest
impl<'de> Deserialize<'de> for VerifyEmailRequest
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 VerifyEmailRequest
impl RefUnwindSafe for VerifyEmailRequest
impl Send for VerifyEmailRequest
impl Sync for VerifyEmailRequest
impl Unpin for VerifyEmailRequest
impl UnwindSafe for VerifyEmailRequest
Blanket Implementations§
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