Struct distant_net::common::authentication::msg::Verification
source · pub struct Verification {
pub kind: VerificationKind,
pub text: String,
}Expand description
Represents an ask to verify some information
Fields
kind: VerificationKindtext: StringTrait Implementations
sourceimpl Clone for Verification
impl Clone for Verification
sourcefn clone(&self) -> Verification
fn clone(&self) -> Verification
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 Verification
impl Debug for Verification
sourceimpl<'de> Deserialize<'de> for Verification
impl<'de> Deserialize<'de> for Verification
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<Verification> for Authentication
impl From<Verification> for Authentication
sourcefn from(original: Verification) -> Authentication
fn from(original: Verification) -> Authentication
Converts to this type from the input type.
sourceimpl PartialEq<Verification> for Verification
impl PartialEq<Verification> for Verification
sourcefn eq(&self, other: &Verification) -> bool
fn eq(&self, other: &Verification) -> bool
sourceimpl Serialize for Verification
impl Serialize for Verification
impl Eq for Verification
impl StructuralEq for Verification
impl StructuralPartialEq for Verification
Auto Trait Implementations
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
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