pub struct LogsDisplay {
pub no_color: bool,
pub no_log_prefix: 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.
Prefix-display options for Engine::logs_with_display (docker compose logs --no-color / --no-log-prefix). Kept off the frozen LogsOptions
struct so the 1.0 library API stays stable.
Fields§
§no_color: boolProduce monochrome output (no colour in the prefix), --no-color.
no_log_prefix: boolDo not print the {service} | prefix, --no-log-prefix.
Trait Implementations§
Source§impl Default for LogsDisplay
impl Default for LogsDisplay
Source§fn default() -> LogsDisplay
fn default() -> LogsDisplay
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogsDisplay
impl RefUnwindSafe for LogsDisplay
impl Send for LogsDisplay
impl Sync for LogsDisplay
impl Unpin for LogsDisplay
impl UnsafeUnpin for LogsDisplay
impl UnwindSafe for LogsDisplay
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