pub struct GraphNode {
pub unit: UnitId,
pub desired: String,
pub expected: bool,
pub observed: String,
pub health: UnitStatus,
pub suppressed: bool,
pub stale: bool,
}Expand description
One node of the console’s Graph view: what is desired, what is observed, and how healthy it is, kept apart (three indicators, not one colour).
Fields§
§unit: UnitId§desired: String“Running”, “Stopped”, … and whether its condition holds now.
expected: bool§observed: StringThe supervisor’s view: “Active”, “Failed: …”, “Unknown: …”.
health: UnitStatus§suppressed: bool§stale: boolIts readiness evidence is stale or unknown.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphNode
impl<'de> Deserialize<'de> for GraphNode
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 Eq for GraphNode
impl StructuralPartialEq for GraphNode
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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