pub enum AlgorithmInfo {
MegolmV1AesSha2 {
curve25519_key: String,
sender_claimed_keys: BTreeMap<DeviceKeyAlgorithm, String, Global>,
},
}Expand description
The algorithm specific information of a decrypted event.
Variants
MegolmV1AesSha2
Fields
curve25519_key: StringThe curve25519 key of the device that created the megolm decryption key originally.
The info if the event was encrypted using m.megolm.v1.aes-sha2
Trait Implementations
sourceimpl Clone for AlgorithmInfo
impl Clone for AlgorithmInfo
sourcefn clone(&self) -> AlgorithmInfo
fn clone(&self) -> AlgorithmInfo
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 AlgorithmInfo
impl Debug for AlgorithmInfo
sourceimpl<'de> Deserialize<'de> for AlgorithmInfo
impl<'de> Deserialize<'de> for AlgorithmInfo
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<AlgorithmInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AlgorithmInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for AlgorithmInfo
impl Serialize for AlgorithmInfo
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 AlgorithmInfo
impl Send for AlgorithmInfo
impl Sync for AlgorithmInfo
impl Unpin for AlgorithmInfo
impl UnwindSafe for AlgorithmInfo
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