pub struct ExchangeVerificationCodeRequest {
pub exchange_verification_code: i64,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub type_: Option<String>,
pub verification_code: String,
}
Expand description
Verifies the code and returns a new code if verification is successful
Fields§
§exchange_verification_code: i64
Must be 1
\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_: Option<String>
[Optional] Purpose of the token exchange.\n
verification_code: String
Email verification code (received from a verify_email
call which must be done first).\n
Trait Implementations§
Source§impl Clone for ExchangeVerificationCodeRequest
impl Clone for ExchangeVerificationCodeRequest
Source§fn clone(&self) -> ExchangeVerificationCodeRequest
fn clone(&self) -> ExchangeVerificationCodeRequest
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<'de> Deserialize<'de> for ExchangeVerificationCodeRequest
impl<'de> Deserialize<'de> for ExchangeVerificationCodeRequest
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 ExchangeVerificationCodeRequest
impl RefUnwindSafe for ExchangeVerificationCodeRequest
impl Send for ExchangeVerificationCodeRequest
impl Sync for ExchangeVerificationCodeRequest
impl Unpin for ExchangeVerificationCodeRequest
impl UnwindSafe for ExchangeVerificationCodeRequest
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