pub struct FailureNode {
pub recorded_at: i64,
pub source: String,
pub tool_name: 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>§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 · 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§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