[][src]Struct ruma_events::room::encrypted::MegolmV1AesSha2Content

pub struct MegolmV1AesSha2Content {
    pub algorithm: Algorithm,
    pub ciphertext: String,
    pub sender_key: String,
    pub device_id: DeviceId,
    pub session_id: String,
}

The payload for EncryptedEvent using the m.megolm.v1.aes-sha2 algorithm.

Fields

algorithm: Algorithm

The encryption algorithm used to encrypt this event.

ciphertext: String

The encrypted content of the event.

sender_key: String

The Curve25519 key of the sender.

device_id: DeviceId

The ID of the sending device.

session_id: String

The ID of the session used to encrypt the message.

Trait Implementations

impl Clone for MegolmV1AesSha2Content[src]

impl Debug for MegolmV1AesSha2Content[src]

impl<'de> Deserialize<'de> for MegolmV1AesSha2Content[src]

impl PartialEq<MegolmV1AesSha2Content> for MegolmV1AesSha2Content[src]

impl Serialize for MegolmV1AesSha2Content[src]

impl StructuralPartialEq for MegolmV1AesSha2Content[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,