pub struct TraceNode {
pub node_id: String,
pub kind: TraceNodeKind,
pub target: String,
pub input: Value,
pub output: Option<Value>,
pub error: Option<String>,
pub started_at: u64,
pub ended_at: u64,
pub children: Vec<TraceNode>,
}Fields§
§node_id: String§kind: TraceNodeKind§target: StringFor Call: the function name. For Effect: kind.op (e.g. io.print).
input: Value§output: Option<Value>Some on success; None if the node ended in error.
error: Option<String>§started_at: u64§ended_at: u64§children: Vec<TraceNode>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceNode
impl<'de> Deserialize<'de> for TraceNode
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
impl StructuralPartialEq for TraceNode
Auto Trait Implementations§
impl Freeze for TraceNode
impl RefUnwindSafe for TraceNode
impl Send for TraceNode
impl Sync for TraceNode
impl Unpin for TraceNode
impl UnsafeUnpin for TraceNode
impl UnwindSafe for TraceNode
Blanket Implementations§
impl<T> Allocation for T
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