pub struct DisplayEvent {
pub age_secs: u64,
pub channel_id: u32,
pub kind: ChannelEventKind,
pub channel_kind: ChannelKind,
pub duration_secs: Option<u64>,
pub count: u32,
}Fields§
§age_secs: u64§channel_id: u32Surfaced through the runtime path for completeness; the renderer currently does not show channel ids because the numbers are noisy without context. Reserved for future use.
kind: ChannelEventKind§channel_kind: ChannelKindFiltered to Direct | Forwarded | Dynamic — internal channels
are dropped by the UI before this struct is built, so this is
always one of the user-visible kinds.
duration_secs: Option<u64>Open→close duration when known. Reserved for the expanded events-list view.
count: u32Number of co-occurring events of the same kind/age that were
folded into this row. 1 means “just one event”; higher values
render as a (3x) suffix.
Trait Implementations§
Source§impl Clone for DisplayEvent
impl Clone for DisplayEvent
Source§fn clone(&self) -> DisplayEvent
fn clone(&self) -> DisplayEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DisplayEvent
impl RefUnwindSafe for DisplayEvent
impl Send for DisplayEvent
impl Sync for DisplayEvent
impl Unpin for DisplayEvent
impl UnsafeUnpin for DisplayEvent
impl UnwindSafe for DisplayEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more