pub struct PackStatusResult {
pub message: Option<String>,
pub dry_run: bool,
pub packs: Vec<DisplayPack>,
pub warnings: Vec<String>,
pub notes: Vec<DisplayNote>,
pub conflicts: Vec<DisplayConflict>,
pub ignored_packs: Vec<String>,
}Expand description
Result type for commands that display pack status (status, up, down).
Fields§
§message: Option<String>§dry_run: bool§packs: Vec<DisplayPack>§warnings: Vec<String>Informational command-level messages not attached to any row
(e.g. “pack X is ignored, skipping”). Real errors belong in
notes so they can be referenced from an item row.
notes: Vec<DisplayNote>Command-wide error/note list. Each entry is referenced by a
DisplayFile.note_ref (1-based). Rendered at the end of the
output so per-item rows stay single-line and column-aligned.
conflicts: Vec<DisplayConflict>Cross-pack conflicts to display at the end of the output.
ignored_packs: Vec<String>Names of pack-shaped directories skipped because they carry a
.dodotignore marker. Surfaced by status so users aren’t
baffled when a directory they expected doesn’t appear.
Trait Implementations§
Source§impl Clone for PackStatusResult
impl Clone for PackStatusResult
Source§fn clone(&self) -> PackStatusResult
fn clone(&self) -> PackStatusResult
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 PackStatusResult
impl Debug for PackStatusResult
Auto Trait Implementations§
impl Freeze for PackStatusResult
impl RefUnwindSafe for PackStatusResult
impl Send for PackStatusResult
impl Sync for PackStatusResult
impl Unpin for PackStatusResult
impl UnsafeUnpin for PackStatusResult
impl UnwindSafe for PackStatusResult
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