pub struct OtpSessionReceipt {
pub session: LoginResponse,
pub id_token: String,
}Expand description
Nonce-bound OTP transport result. Wire fields remain flat via serde flatten. Presence is not verification: validate issuer/client/nonce/auth_time/amr/at_hash. Existing LoginResponse and OtpVerificationResponse literals remain unchanged.
Fields§
§session: LoginResponse§id_token: StringTrait Implementations§
Source§impl Clone for OtpSessionReceipt
impl Clone for OtpSessionReceipt
Source§fn clone(&self) -> OtpSessionReceipt
fn clone(&self) -> OtpSessionReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OtpSessionReceipt
impl<'de> Deserialize<'de> for OtpSessionReceipt
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 OtpSessionReceipt
impl RefUnwindSafe for OtpSessionReceipt
impl Send for OtpSessionReceipt
impl Sync for OtpSessionReceipt
impl Unpin for OtpSessionReceipt
impl UnsafeUnpin for OtpSessionReceipt
impl UnwindSafe for OtpSessionReceipt
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