pub struct Observation {
pub state_dir: Option<NativePath>,
pub tasks_root: Option<NativePath>,
pub tasks: Vec<TaskReport>,
pub selected_task: Option<String>,
pub guidance: Option<String>,
pub problem: Option<ProblemOutcome>,
/* private fields */
}Expand description
Workspace-scoped result of a task query.
Fields§
§state_dir: Option<NativePath>Directory holding authoritative Workyard state.
tasks_root: Option<NativePath>Directory containing the task workspaces.
tasks: Vec<TaskReport>Task reports matching this query.
selected_task: Option<String>Task selector supplied by the caller, if any.
guidance: Option<String>Actionable guidance associated with this result.
problem: Option<ProblemOutcome>Diagnostic describing a failure or an unresolved condition.
Trait Implementations§
Source§impl Default for Observation
impl Default for Observation
Auto Trait Implementations§
impl Forget for Observation
impl Freeze for Observation
impl Move for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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