pub struct DeviceTokenEmailData {
pub device_token: String,
pub device_encryption_key: Option<String>,
pub otp_token: Option<String>,
}Expand description
data payload for an email sign-in device-token response.
Fields§
§device_token: StringShort-lived device token for the Circle mobile SDK.
device_encryption_key: Option<String>Encryption key paired with the device token.
otp_token: Option<String>OTP token to be verified by the user.
Trait Implementations§
Source§impl Clone for DeviceTokenEmailData
impl Clone for DeviceTokenEmailData
Source§fn clone(&self) -> DeviceTokenEmailData
fn clone(&self) -> DeviceTokenEmailData
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 DeviceTokenEmailData
impl Debug for DeviceTokenEmailData
Source§impl<'de> Deserialize<'de> for DeviceTokenEmailData
impl<'de> Deserialize<'de> for DeviceTokenEmailData
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 DeviceTokenEmailData
impl RefUnwindSafe for DeviceTokenEmailData
impl Send for DeviceTokenEmailData
impl Sync for DeviceTokenEmailData
impl Unpin for DeviceTokenEmailData
impl UnsafeUnpin for DeviceTokenEmailData
impl UnwindSafe for DeviceTokenEmailData
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