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>>,
}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.
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