pub enum ShieldStateCode {
AuthenticityNotGuaranteed,
UnknownDevice,
UnsignedDevice,
UnverifiedIdentity,
SentInClear,
VerificationViolation,
}
Expand description
A machine-readable representation of the authenticity for a ShieldState
.
Variants§
AuthenticityNotGuaranteed
Not enough information available to check the authenticity.
UnknownDevice
The sending device isn’t yet known by the Client.
UnsignedDevice
The sending device hasn’t been verified by the sender.
UnverifiedIdentity
The sender hasn’t been verified by the Client’s user.
SentInClear
An unencrypted event in an encrypted room.
VerificationViolation
The sender was previously verified but changed their identity.
Trait Implementations§
source§impl Clone for ShieldStateCode
impl Clone for ShieldStateCode
source§fn clone(&self) -> ShieldStateCode
fn clone(&self) -> ShieldStateCode
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 ShieldStateCode
impl Debug for ShieldStateCode
source§impl<'de> Deserialize<'de> for ShieldStateCode
impl<'de> Deserialize<'de> for ShieldStateCode
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
source§impl PartialEq for ShieldStateCode
impl PartialEq for ShieldStateCode
source§fn eq(&self, other: &ShieldStateCode) -> bool
fn eq(&self, other: &ShieldStateCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShieldStateCode
impl Serialize for ShieldStateCode
impl Copy for ShieldStateCode
impl Eq for ShieldStateCode
impl StructuralPartialEq for ShieldStateCode
Auto Trait Implementations§
impl Freeze for ShieldStateCode
impl RefUnwindSafe for ShieldStateCode
impl Send for ShieldStateCode
impl Sync for ShieldStateCode
impl Unpin for ShieldStateCode
impl UnwindSafe for ShieldStateCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.