Struct matrix_sdk_crypto::store::Changes
source · pub struct Changes {Show 14 fields
pub private_identity: Option<PrivateCrossSigningIdentity>,
pub backup_version: Option<String>,
pub backup_decryption_key: Option<BackupDecryptionKey>,
pub sessions: Vec<Session>,
pub message_hashes: Vec<OlmMessageHash>,
pub inbound_group_sessions: Vec<InboundGroupSession>,
pub outbound_group_sessions: Vec<OutboundGroupSession>,
pub key_requests: Vec<GossipRequest>,
pub identities: IdentityChanges,
pub devices: DeviceChanges,
pub withheld_session_info: BTreeMap<OwnedRoomId, BTreeMap<String, RoomKeyWithheldEvent>>,
pub room_settings: HashMap<OwnedRoomId, RoomSettings>,
pub secrets: Vec<GossippedSecret>,
pub next_batch_token: Option<String>,
}
Expand description
Aggregated changes to be saved in the database.
Fields§
§private_identity: Option<PrivateCrossSigningIdentity>
§backup_version: Option<String>
§backup_decryption_key: Option<BackupDecryptionKey>
§sessions: Vec<Session>
§message_hashes: Vec<OlmMessageHash>
§inbound_group_sessions: Vec<InboundGroupSession>
§outbound_group_sessions: Vec<OutboundGroupSession>
§key_requests: Vec<GossipRequest>
§identities: IdentityChanges
§devices: DeviceChanges
§withheld_session_info: BTreeMap<OwnedRoomId, BTreeMap<String, RoomKeyWithheldEvent>>
Stores when a m.room_key.withheld
is received
room_settings: HashMap<OwnedRoomId, RoomSettings>
§secrets: Vec<GossippedSecret>
§next_batch_token: Option<String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Changes
impl Send for Changes
impl Sync for Changes
impl Unpin for Changes
impl !UnwindSafe for Changes
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