#[non_exhaustive]pub struct AmbiguityChanges {
pub changes: BTreeMap<OwnedRoomId, BTreeMap<OwnedEventId, AmbiguityChange>>,
}
Expand description
Collection of ambiguity changes that room member events trigger.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.changes: BTreeMap<OwnedRoomId, BTreeMap<OwnedEventId, AmbiguityChange>>
A map from room id to a map of an event id to the AmbiguityChange
that
the event with the given id caused.
Trait Implementations§
source§impl Clone for AmbiguityChanges
impl Clone for AmbiguityChanges
source§fn clone(&self) -> AmbiguityChanges
fn clone(&self) -> AmbiguityChanges
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AmbiguityChanges
impl Debug for AmbiguityChanges
source§impl Default for AmbiguityChanges
impl Default for AmbiguityChanges
source§fn default() -> AmbiguityChanges
fn default() -> AmbiguityChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AmbiguityChanges
impl Send for AmbiguityChanges
impl Sync for AmbiguityChanges
impl Unpin for AmbiguityChanges
impl UnwindSafe for AmbiguityChanges
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