pub struct WorkspaceStatus {
pub project: String,
pub clean: bool,
pub rows: Vec<StatusRow>,
}Expand description
ign workspace status’s result model (serde for 13-07’s envelope —
actions never print). Envelope discipline: rows is ALL-rows-always
— every row that exists is present; there are no null placeholders
(the sessions-family semantics), and clean summarizes so agents
never have to walk the rows to know the verdict.
Fields§
§project: StringThe project the workspace is checked out from (echoed from the
manifest after the caller’s project argument is verified
against it).
clean: boolTrue iff every row is StatusKind::Clean (additions,
deletions, untracked files, and drift all make this false).
rows: Vec<StatusRow>Every row: one per manifest member, then gateway-only members, then untracked files — sorted within each group (deterministic render order for 13-07).
Trait Implementations§
Source§impl Clone for WorkspaceStatus
impl Clone for WorkspaceStatus
Source§fn clone(&self) -> WorkspaceStatus
fn clone(&self) -> WorkspaceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkspaceStatus
impl Debug for WorkspaceStatus
Source§impl PartialEq for WorkspaceStatus
impl PartialEq for WorkspaceStatus
Source§impl Serialize for WorkspaceStatus
impl Serialize for WorkspaceStatus
impl StructuralPartialEq for WorkspaceStatus
Auto Trait Implementations§
impl Freeze for WorkspaceStatus
impl RefUnwindSafe for WorkspaceStatus
impl Send for WorkspaceStatus
impl Sync for WorkspaceStatus
impl Unpin for WorkspaceStatus
impl UnsafeUnpin for WorkspaceStatus
impl UnwindSafe for WorkspaceStatus
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