pub struct VerificationResponse {
pub valid: bool,
}
Expand description
Represents the answer to a previously-asked verification associated with authentication
Fields§
§valid: bool
Whether or not the verification was deemed valid
Trait Implementations§
Source§impl Clone for VerificationResponse
impl Clone for VerificationResponse
Source§fn clone(&self) -> VerificationResponse
fn clone(&self) -> VerificationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VerificationResponse
impl Debug for VerificationResponse
Source§impl<'de> Deserialize<'de> for VerificationResponse
impl<'de> Deserialize<'de> for VerificationResponse
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
Source§impl From<VerificationResponse> for AuthenticationResponse
impl From<VerificationResponse> for AuthenticationResponse
Source§fn from(original: VerificationResponse) -> AuthenticationResponse
fn from(original: VerificationResponse) -> AuthenticationResponse
Converts to this type from the input type.
Source§impl PartialEq for VerificationResponse
impl PartialEq for VerificationResponse
Source§impl Serialize for VerificationResponse
impl Serialize for VerificationResponse
impl Eq for VerificationResponse
impl StructuralPartialEq for VerificationResponse
Auto Trait Implementations§
impl Freeze for VerificationResponse
impl RefUnwindSafe for VerificationResponse
impl Send for VerificationResponse
impl Sync for VerificationResponse
impl Unpin for VerificationResponse
impl UnwindSafe for VerificationResponse
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