Skip to main content

OneTimeKeyMap

Type Alias OneTimeKeyMap 

Source
pub type OneTimeKeyMap = HashMap<OwnedUserId, HashMap<OwnedDeviceId, HashMap<OwnedOneTimeKeyId, OneTimeKeyRow>>>;
Expand description

This is a map from user IDs to a map from device IDs to a map from key ID to OneTimeKeyRow.

This complex is used by the database layer to fetch all the requested one-time and fallback keys at once.

Aliased Typeยง

pub struct OneTimeKeyMap { /* private fields */ }