pub struct PsOptions {
pub all: bool,
pub quiet: bool,
pub json: bool,
}Expand description
The lifecycle Engine and its per-command option/override types, plus the
project-name/listing helpers — the surface a CLI drives compose operations
through.
Options for Engine::ps_with_options, mirroring docker compose ps.
Fields§
§all: boolInclude stopped containers, -a/--all (default: running only).
quiet: boolPrint only container IDs, -q/--quiet.
json: boolEmit JSON instead of the table, --format json.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PsOptions
impl RefUnwindSafe for PsOptions
impl Send for PsOptions
impl Sync for PsOptions
impl Unpin for PsOptions
impl UnsafeUnpin for PsOptions
impl UnwindSafe for PsOptions
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