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