pub struct TaskTopologyNode {
pub task_id: String,
pub name: String,
pub parent_id: Option<String>,
pub status: String,
pub duration_ms: f64,
pub x_pct: f64,
pub y_pct: f64,
}Expand description
Task topology node
Fields§
§task_id: StringTask ID (hex)
name: StringTask name
parent_id: Option<String>Parent task ID (none if root)
status: StringStatus: RUNNING, IDLE, WAITING, POLLING, COMPLETED
duration_ms: f64Duration in ms
x_pct: f64X position percentage for layout
y_pct: f64Y position percentage for layout
Trait Implementations§
Source§impl Clone for TaskTopologyNode
impl Clone for TaskTopologyNode
Source§fn clone(&self) -> TaskTopologyNode
fn clone(&self) -> TaskTopologyNode
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 moreSource§impl Debug for TaskTopologyNode
impl Debug for TaskTopologyNode
Source§impl<'de> Deserialize<'de> for TaskTopologyNode
impl<'de> Deserialize<'de> for TaskTopologyNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskTopologyNode
impl RefUnwindSafe for TaskTopologyNode
impl Send for TaskTopologyNode
impl Sync for TaskTopologyNode
impl Unpin for TaskTopologyNode
impl UnsafeUnpin for TaskTopologyNode
impl UnwindSafe for TaskTopologyNode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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