pub type EncryptedToDeviceEvent = ToDeviceEvent<ToDeviceEncryptedEventContent>;Expand description
An m.room.encrypted to-device event.
Aliased Type§
pub struct EncryptedToDeviceEvent {
pub sender: OwnedUserId,
pub content: ToDeviceEncryptedEventContent,
/* private fields */
}Fields§
§sender: OwnedUserIdThe sender of the to-device event.
content: ToDeviceEncryptedEventContentThe 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.