Struct distant_net::common::authentication::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
sourceimpl Clone for VerificationResponse
impl Clone for VerificationResponse
sourcefn clone(&self) -> VerificationResponse
fn clone(&self) -> VerificationResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VerificationResponse
impl Debug for VerificationResponse
sourceimpl<'de> Deserialize<'de> for VerificationResponse
impl<'de> Deserialize<'de> for VerificationResponse
sourcefn 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
sourceimpl From<VerificationResponse> for AuthenticationResponse
impl From<VerificationResponse> for AuthenticationResponse
sourcefn from(original: VerificationResponse) -> AuthenticationResponse
fn from(original: VerificationResponse) -> AuthenticationResponse
Converts to this type from the input type.
sourceimpl PartialEq<VerificationResponse> for VerificationResponse
impl PartialEq<VerificationResponse> for VerificationResponse
sourcefn eq(&self, other: &VerificationResponse) -> bool
fn eq(&self, other: &VerificationResponse) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more