Struct loro_internal::event::DiffEvent
source · pub struct DiffEvent<'a> {
pub current_target: Option<ContainerID>,
pub events: &'a [&'a ContainerDiff],
pub event_meta: &'a DocDiff,
}
Fields§
§current_target: Option<ContainerID>
The receiver of the event.
events: &'a [&'a ContainerDiff]
A list of events that should be received by the current target.
event_meta: &'a DocDiff
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DiffEvent<'a>
impl<'a> RefUnwindSafe for DiffEvent<'a>
impl<'a> Send for DiffEvent<'a>
impl<'a> Sync for DiffEvent<'a>
impl<'a> Unpin for DiffEvent<'a>
impl<'a> UnwindSafe for DiffEvent<'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