Struct distant_auth::msg::VerificationResponse
source · pub struct VerificationResponse {
pub valid: bool,
}Expand description
Represents the answer to a previously-asked verification associated with authentication
Fields§
§valid: boolWhether 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 copy 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 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<VerificationResponse> for VerificationResponse
impl PartialEq<VerificationResponse> for VerificationResponse
source§fn eq(&self, other: &VerificationResponse) -> bool
fn eq(&self, other: &VerificationResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for VerificationResponse
impl Serialize for VerificationResponse
impl Eq for VerificationResponse
impl StructuralEq for VerificationResponse
impl StructuralPartialEq for VerificationResponse
Auto Trait Implementations§
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