pub struct TraceLine {
pub id: Option<String>,
pub icon: Option<Icon>,
pub title: Option<Text>,
pub target: Option<Text>,
pub detail: Option<Text>,
pub status: Option<Status>,
pub age: Option<u64>,
pub took: Option<u64>,
pub open: Option<bool>,
pub sources: Vec<Source>,
}Expand description
A step of a trace. A child keyed by its id is its content.
Fields§
§id: Option<String>Identity (default its index): keys its content child and its open
state, and is the toggle event’s item.
icon: Option<Icon>Its glyph, tinted by status.
title: Option<Text>The step in words.
target: Option<Text>What it acted on, in mono.
detail: Option<Text>A dim line under the row.
status: Option<Status>pending, running, done or error.
age: Option<u64>Elapsed ms when sent.
took: Option<u64>Its time in ms once settled.
open: Option<bool>Whether its content shows.
sources: Vec<Source>Chips under the line.
Implementations§
Trait Implementations§
impl Eq for TraceLine
impl StructuralPartialEq for TraceLine
Auto Trait Implementations§
impl Freeze for TraceLine
impl RefUnwindSafe for TraceLine
impl Send for TraceLine
impl Sync for TraceLine
impl Unpin for TraceLine
impl UnsafeUnpin for TraceLine
impl UnwindSafe for TraceLine
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.