Struct matrix_sdk_base::debug::DebugNotificationMap
source · pub struct DebugNotificationMap<'a>(pub &'a BTreeMap<OwnedRoomId, Vec<Notification>>);
Expand description
A wrapper around a notification map as found in /sync
responses that
implements Debug
in a way that only prints the event ID and event type
for the raw events contained in each notification.
Tuple Fields§
§0: &'a BTreeMap<OwnedRoomId, Vec<Notification>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DebugNotificationMap<'a>
impl<'a> Send for DebugNotificationMap<'a>
impl<'a> Sync for DebugNotificationMap<'a>
impl<'a> Unpin for DebugNotificationMap<'a>
impl<'a> UnwindSafe for DebugNotificationMap<'a>
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