pub type EncryptedToDeviceEvent = ToDeviceEvent<ToDeviceEncryptedEventContent>;
Expand description
An m.room.encrypted to-device event.
Aliased Type§
struct EncryptedToDeviceEvent {
pub sender: OwnedUserId,
pub content: ToDeviceEncryptedEventContent,
/* private fields */
}
Fields§
§sender: OwnedUserId
The sender of the to-device event.
content: ToDeviceEncryptedEventContent
The content of the to-device event.
Implementations§
Source§impl EncryptedToDeviceEvent
impl EncryptedToDeviceEvent
Sourcepub fn algorithm(&self) -> EventEncryptionAlgorithm
pub fn algorithm(&self) -> EventEncryptionAlgorithm
Get the algorithm of the encrypted event content.