Struct matrix_sdk_common::deserialized_responses::SyncResponse [−][src]
pub struct SyncResponse {
pub next_batch: String,
pub rooms: Rooms,
pub presence: Presence,
pub account_data: GlobalAccountData,
pub to_device: ToDevice,
pub device_lists: DeviceLists,
pub device_one_time_keys_count: BTreeMap<DeviceKeyAlgorithm, u64>,
pub ambiguity_changes: AmbiguityChanges,
pub notifications: BTreeMap<RoomId, Vec<Notification>>,
}Fields
next_batch: StringThe batch token to supply in the since param of the next /sync
request.
rooms: RoomsUpdates to rooms.
presence: PresenceUpdates to the presence status of other users.
account_data: GlobalAccountDataThe global private data created by this user.
to_device: ToDeviceMessages sent directly between devices.
device_lists: DeviceListsInformation on E2E device updates.
Only present on an incremental sync.
device_one_time_keys_count: BTreeMap<DeviceKeyAlgorithm, u64>For each key algorithm, the number of unclaimed one-time keys currently held on the server for a device.
ambiguity_changes: AmbiguityChangesCollection of ambiguity changes that room member events trigger.
notifications: BTreeMap<RoomId, Vec<Notification>>New notifications per room.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for SyncResponse
impl Send for SyncResponse
impl Sync for SyncResponse
impl Unpin for SyncResponse
impl UnwindSafe for SyncResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more