Struct ruma_client_api::sync::sync_events::v4::E2EE
source · pub struct E2EE {
pub device_lists: DeviceLists,
pub device_one_time_keys_count: BTreeMap<DeviceKeyAlgorithm, UInt>,
pub device_unused_fallback_key_types: Option<Vec<DeviceKeyAlgorithm>>,
}
Available on (crate features
client
or server
) and crate feature unstable-msc3575
only.Expand description
E2EE extension response data.
According to MSC3884.
Fields§
§device_lists: DeviceLists
Information on E2EE device updates.
Only present on an incremental sync.
device_one_time_keys_count: BTreeMap<DeviceKeyAlgorithm, UInt>
For each key algorithm, the number of unclaimed one-time keys currently held on the server for a device.
device_unused_fallback_key_types: Option<Vec<DeviceKeyAlgorithm>>
For each key algorithm, the number of unclaimed one-time keys currently held on the server for a device.
The presence of this field indicates that the server supports fallback keys.
Trait Implementations§
source§impl<'de> Deserialize<'de> for E2EE
impl<'de> Deserialize<'de> for E2EE
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more