Enum ruma_common::events::key::verification::accept::AcceptMethod
source · [−]pub enum AcceptMethod {
SasV1(SasV1Content),
// some variants omitted
}Available on crate feature
events only.Expand description
An enum representing the different method specific m.key.verification.accept content.
Variants
SasV1(SasV1Content)
The m.sas.v1 verification method.
Trait Implementations
sourceimpl Clone for AcceptMethod
impl Clone for AcceptMethod
sourcefn clone(&self) -> AcceptMethod
fn clone(&self) -> AcceptMethod
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 AcceptMethod
impl Debug for AcceptMethod
sourceimpl<'de> Deserialize<'de> for AcceptMethod
impl<'de> Deserialize<'de> for AcceptMethod
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 AcceptMethod
impl Serialize for AcceptMethod
Auto Trait Implementations
impl RefUnwindSafe for AcceptMethod
impl Send for AcceptMethod
impl Sync for AcceptMethod
impl Unpin for AcceptMethod
impl UnwindSafe for AcceptMethod
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
