pub struct UnableToDecryptInfo {
pub session_id: Option<String>,
pub reason: UnableToDecryptReason,
}
Expand description
Metadata about an event that could not be decrypted.
Fields§
§session_id: Option<String>
The ID of the session used to encrypt the message, if it used the
m.megolm.v1.aes-sha2
algorithm.
reason: UnableToDecryptReason
Reason code for the decryption failure
Trait Implementations§
Source§impl Clone for UnableToDecryptInfo
impl Clone for UnableToDecryptInfo
Source§fn clone(&self) -> UnableToDecryptInfo
fn clone(&self) -> UnableToDecryptInfo
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 UnableToDecryptInfo
impl Debug for UnableToDecryptInfo
Source§impl<'de> Deserialize<'de> for UnableToDecryptInfo
impl<'de> Deserialize<'de> for UnableToDecryptInfo
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
Auto Trait Implementations§
impl Freeze for UnableToDecryptInfo
impl RefUnwindSafe for UnableToDecryptInfo
impl Send for UnableToDecryptInfo
impl Sync for UnableToDecryptInfo
impl Unpin for UnableToDecryptInfo
impl UnwindSafe for UnableToDecryptInfo
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