pub struct ObservedState {
pub scan: ScanStatus,
pub mode: Option<String>,
pub read_back: BTreeMap<String, Remote>,
pub files: Vec<(String, PlanStatus)>,
pub logs: Result<Vec<LogLine>, String>,
pub probes: Option<Result<Vec<ProbeReading>, String>>,
pub unreadable: Vec<(String, bool)>,
}Expand description
What the action read.
Fields§
§scan: ScanStatusThe config scan status (gateway clock).
mode: Option<String>The normalised active deployment mode.
read_back: BTreeMap<String, Remote>Per declared, compared resource key.
files: Vec<(String, PlanStatus)>Plan status per declared tag unit key.
logs: Result<Vec<LogLine>, String>The log lines since the last scan, or the slug of why they could not be read.
probes: Option<Result<Vec<ProbeReading>, String>>The probe readings, or the slug of why they could not be read; None
when no probe read was made.
unreadable: Vec<(String, bool)>The units with a live path the host’s sftp server cannot read
(quick-261029-ms3): unit key and whether it is declared. Never
treated as absent: a declared one is a red unreadable finding, an
undeclared one a warning.
Trait Implementations§
Source§impl Clone for ObservedState
impl Clone for ObservedState
Auto Trait Implementations§
impl Freeze for ObservedState
impl RefUnwindSafe for ObservedState
impl Send for ObservedState
impl Sync for ObservedState
impl Unpin for ObservedState
impl UnsafeUnpin for ObservedState
impl UnwindSafe for ObservedState
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