#[non_exhaustive]pub struct EventEntry {
pub event: TimedEvent,
pub anchor: EventAnchor,
}Available on crate feature
std only.Expand description
One entry in the event log: the owned, lossless TimedEvent this
trunk carries verbatim — see
The event log for
why this is the published timed_metadata type, not a parallel one —
plus its current EventAnchor resolution state.
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.event: TimedEventThe canonical event, carried verbatim.
anchor: EventAnchorThis entry’s current resolution state.
Trait Implementations§
Source§impl Clone for EventEntry
impl Clone for EventEntry
Source§fn clone(&self) -> EventEntry
fn clone(&self) -> EventEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EventEntry
impl RefUnwindSafe for EventEntry
impl Send for EventEntry
impl Sync for EventEntry
impl Unpin for EventEntry
impl UnsafeUnpin for EventEntry
impl UnwindSafe for EventEntry
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