Enum ruma_events::key::verification::VerificationMethod [−][src]
pub enum VerificationMethod { SasV1, QrCodeScanV1, QrCodeShowV1, ReciprocateV1, // some variants omitted }
Expand description
A Short Authentication String (SAS) verification method.
Variants
The m.sas.v1 verification method.
The m.qr_code.scan.v1 verification method.
The m.qr_code.show.v1 verification method.
The m.reciprocate.v1 verification method.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VerificationMethod
impl Send for VerificationMethod
impl Sync for VerificationMethod
impl Unpin for VerificationMethod
impl UnwindSafe for VerificationMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V