pub struct FailureNode {
pub recorded_at: i64,
pub source: String,
pub tool_name: Option<String>,
pub source_namespace: Option<String>,
pub source_tool: Option<String>,
pub message: String,
pub session_id: Option<String>,
}Expand description
Typed failure payload (persisted as node_type = "failure").
Fields§
§recorded_at: i64Unix seconds when the failure was recorded.
source: StringOrigin label, e.g. loop_guard:block or loop_guard:circuit_break.
tool_name: Option<String>§source_namespace: Option<String>MCP server namespace when the failure came from a namespaced tool (e.g. ainl for mcp_ainl_*).
source_tool: Option<String>Logical tool identifier for analytics (often the full host tool name, e.g. mcp_ainl_ainl_run).
message: String§session_id: Option<String>Trait Implementations§
Source§impl Clone for FailureNode
impl Clone for FailureNode
Source§fn clone(&self) -> FailureNode
fn clone(&self) -> FailureNode
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 FailureNode
impl Debug for FailureNode
Source§impl<'de> Deserialize<'de> for FailureNode
impl<'de> Deserialize<'de> for FailureNode
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
Source§impl PartialEq for FailureNode
impl PartialEq for FailureNode
Source§fn eq(&self, other: &FailureNode) -> bool
fn eq(&self, other: &FailureNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FailureNode
impl Serialize for FailureNode
impl StructuralPartialEq for FailureNode
Auto Trait Implementations§
impl Freeze for FailureNode
impl RefUnwindSafe for FailureNode
impl Send for FailureNode
impl Sync for FailureNode
impl Unpin for FailureNode
impl UnsafeUnpin for FailureNode
impl UnwindSafe for FailureNode
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