pub struct ConsoleReport {
pub status: StatusReport,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub timeline: Vec<TxnSummary>,
pub previous: Option<GenerationId>,
pub last_booted: Option<GenerationId>,
pub candidates: Vec<GenerationId>,
pub last_change_reverted: bool,
pub now: Timestamp,
}Fields§
§status: StatusReport§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§timeline: Vec<TxnSummary>Newest first.
previous: Option<GenerationId>§last_booted: Option<GenerationId>§candidates: Vec<GenerationId>Generations an in-flight transaction is building or activating.
last_change_reverted: boolThe most recent generation change was reverted.
now: TimestampThe daemon’s clock when it answered.
Implementations§
Source§impl ConsoleReport
impl ConsoleReport
Sourcepub fn needs_attention(&self) -> bool
pub fn needs_attention(&self) -> bool
§16a: something needs a person: an open incident, a pending approval, the recovery interlock, a reconciliation record, or a reverted change. The console starts visible, and the tray turns amber or red.
Trait Implementations§
Source§impl Clone for ConsoleReport
impl Clone for ConsoleReport
Source§fn clone(&self) -> ConsoleReport
fn clone(&self) -> ConsoleReport
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 ConsoleReport
impl Debug for ConsoleReport
Source§impl<'de> Deserialize<'de> for ConsoleReport
impl<'de> Deserialize<'de> for ConsoleReport
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 ConsoleReport
impl PartialEq for ConsoleReport
Source§impl Serialize for ConsoleReport
impl Serialize for ConsoleReport
impl Eq for ConsoleReport
impl StructuralPartialEq for ConsoleReport
Auto Trait Implementations§
impl Freeze for ConsoleReport
impl RefUnwindSafe for ConsoleReport
impl Send for ConsoleReport
impl Sync for ConsoleReport
impl Unpin for ConsoleReport
impl UnsafeUnpin for ConsoleReport
impl UnwindSafe for ConsoleReport
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