pub enum VerificationState {
Trusted,
Untrusted,
UnknownDevice,
}Expand description
The verification state of the device that sent an event to us.
Variants
Trusted
The device is trusted.
Untrusted
The device is not trusted.
UnknownDevice
The device is not known to us.
Trait Implementations
sourceimpl Clone for VerificationState
impl Clone for VerificationState
sourcefn clone(&self) -> VerificationState
fn clone(&self) -> VerificationState
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VerificationState
impl Debug for VerificationState
sourceimpl<'de> Deserialize<'de> for VerificationState
impl<'de> Deserialize<'de> for VerificationState
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<VerificationState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<VerificationState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for VerificationState
impl Serialize for VerificationState
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
Auto Trait Implementations
impl RefUnwindSafe for VerificationState
impl Send for VerificationState
impl Sync for VerificationState
impl Unpin for VerificationState
impl UnwindSafe for VerificationState
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