pub struct KeysQueryOutcome {
pub resolved_users: Vec<UserId>,
pub accepted_devices: Vec<(UserId, DeviceId)>,
pub dropped_devices: Vec<DroppedDevice>,
pub key_changes: Vec<DeviceKeyChanged>,
}Expand description
The result of merging one /keys/query response into the store.
Fields§
§resolved_users: Vec<UserId>Users whose tracked device list this response refreshed (no longer outdated).
accepted_devices: Vec<(UserId, DeviceId)>A device this response carried that was accepted (new, or an unchanged re-publish of an already-known device).
dropped_devices: Vec<DroppedDevice>A device this response carried that failed validation and was never stored.
key_changes: Vec<DeviceKeyChanged>A previously-known device whose keys changed – new keys applied
(verified cleared) and flagged for the caller.
Trait Implementations§
Source§impl Clone for KeysQueryOutcome
impl Clone for KeysQueryOutcome
Source§impl Debug for KeysQueryOutcome
impl Debug for KeysQueryOutcome
Source§impl Default for KeysQueryOutcome
impl Default for KeysQueryOutcome
impl Eq for KeysQueryOutcome
Source§impl PartialEq for KeysQueryOutcome
impl PartialEq for KeysQueryOutcome
impl StructuralPartialEq for KeysQueryOutcome
Auto Trait Implementations§
impl Freeze for KeysQueryOutcome
impl RefUnwindSafe for KeysQueryOutcome
impl Send for KeysQueryOutcome
impl Sync for KeysQueryOutcome
impl Unpin for KeysQueryOutcome
impl UnsafeUnpin for KeysQueryOutcome
impl UnwindSafe for KeysQueryOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more