Enum matrix_sdk::LocalTrust [−]
pub enum LocalTrust {
Verified,
BlackListed,
Ignored,
Unset,
}
This is supported on
encryption
only.Expand description
The local trust state of a device.
Variants
The device has been verified and is trusted.
The device been blacklisted from communicating.
The trust state of the device is being ignored.
The trust state is unset.
Trait Implementations
impl Clone for LocalTrust
impl Clone for LocalTrust
pub fn clone(&self) -> LocalTrust
pub fn clone(&self) -> LocalTrust
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for LocalTrust
impl Debug for LocalTrust
impl<'de> Deserialize<'de> for LocalTrust
impl<'de> Deserialize<'de> for LocalTrust
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<LocalTrust, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<LocalTrust, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl From<i64> for LocalTrust
impl From<i64> for LocalTrust
pub fn from(state: i64) -> LocalTrust
pub fn from(state: i64) -> LocalTrust
Performs the conversion.
impl PartialEq<LocalTrust> for LocalTrust
impl PartialEq<LocalTrust> for LocalTrust
impl Serialize for LocalTrust
impl Serialize for LocalTrust
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for LocalTrust
impl StructuralPartialEq for LocalTrust
Auto Trait Implementations
impl RefUnwindSafe for LocalTrust
impl Send for LocalTrust
impl Sync for LocalTrust
impl Unpin for LocalTrust
impl UnwindSafe for LocalTrust
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more