pub enum PartsVerified {
CompleteEvent,
OnlySignatures,
}Expand description
Describes how much of a ruma event was actually verified during a signature verification
Variants§
CompleteEvent
We have access to the original unredacted event, and could verify everything
OnlySignatures
We could only check the signature of the hash, and not the original event because it has been redacted
Trait Implementations§
Source§impl Clone for PartsVerified
impl Clone for PartsVerified
Source§fn clone(&self) -> PartsVerified
fn clone(&self) -> PartsVerified
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PartsVerified
Source§impl Debug for PartsVerified
impl Debug for PartsVerified
Source§impl<'de> Deserialize<'de> for PartsVerified
impl<'de> Deserialize<'de> for PartsVerified
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
impl Eq for PartsVerified
Source§impl From<Verified> for PartsVerified
impl From<Verified> for PartsVerified
Source§impl PartialEq for PartsVerified
impl PartialEq for PartsVerified
Source§fn eq(&self, other: &PartsVerified) -> bool
fn eq(&self, other: &PartsVerified) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PartsVerified
impl Serialize for PartsVerified
impl StructuralPartialEq for PartsVerified
Auto Trait Implementations§
impl Freeze for PartsVerified
impl RefUnwindSafe for PartsVerified
impl Send for PartsVerified
impl Sync for PartsVerified
impl Unpin for PartsVerified
impl UnsafeUnpin for PartsVerified
impl UnwindSafe for PartsVerified
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.