Enum ruma_common::events::key::verification::start::StartMethod
source · pub enum StartMethod {
SasV1(SasV1Content),
ReciprocateV1(ReciprocateV1Content),
// some variants omitted
}Available on crate feature
events only.Expand description
An enum representing the different method specific m.key.verification.start content.
Variants§
SasV1(SasV1Content)
The m.sas.v1 verification method.
ReciprocateV1(ReciprocateV1Content)
The m.reciprocate.v1 verification method.
The spec entry for this method can be found here.
Trait Implementations§
source§impl Clone for StartMethod
impl Clone for StartMethod
source§fn clone(&self) -> StartMethod
fn clone(&self) -> StartMethod
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 StartMethod
impl Debug for StartMethod
source§impl<'de> Deserialize<'de> for StartMethod
impl<'de> Deserialize<'de> for StartMethod
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