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
sourceimpl Clone for StartMethod
impl Clone for StartMethod
sourcefn clone(&self) -> StartMethod
fn clone(&self) -> StartMethod
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 StartMethod
impl Debug for StartMethod
sourceimpl<'de> Deserialize<'de> for StartMethod
impl<'de> Deserialize<'de> for StartMethod
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 Serialize for StartMethod
impl Serialize for StartMethod
Auto Trait Implementations
impl RefUnwindSafe for StartMethod
impl Send for StartMethod
impl Sync for StartMethod
impl Unpin for StartMethod
impl UnwindSafe for StartMethod
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