pub struct DeviceKeyChanged {
pub user_id: UserId,
pub device_id: DeviceId,
}Expand description
A previously-known device whose Curve25519 or Ed25519 key changed in a
new /keys/query response – the NEW keys were applied with
verified = false (see the module doc). A caller should re-share
Megolm and drop stale Olm sessions for this device.
Fields§
§user_id: UserIdThe device’s owner.
device_id: DeviceIdThe device whose keys changed.
Trait Implementations§
Source§impl Clone for DeviceKeyChanged
impl Clone for DeviceKeyChanged
Source§impl Debug for DeviceKeyChanged
impl Debug for DeviceKeyChanged
impl Eq for DeviceKeyChanged
Source§impl PartialEq for DeviceKeyChanged
impl PartialEq for DeviceKeyChanged
impl StructuralPartialEq for DeviceKeyChanged
Auto Trait Implementations§
impl Freeze for DeviceKeyChanged
impl RefUnwindSafe for DeviceKeyChanged
impl Send for DeviceKeyChanged
impl Sync for DeviceKeyChanged
impl Unpin for DeviceKeyChanged
impl UnsafeUnpin for DeviceKeyChanged
impl UnwindSafe for DeviceKeyChanged
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