pub struct ComposeLsCommand {
pub config: ComposeConfig,
pub all: bool,
pub filter: Option<String>,
pub format: Option<LsFormat>,
pub quiet: bool,
}
Expand description
Docker Compose ls command
List running compose projects.
Fields§
§config: ComposeConfig
Base configuration
all: bool
Show all projects (including stopped)
filter: Option<String>
Filter by name
format: Option<LsFormat>
Format output (table, json)
quiet: bool
Only display project names
Implementations§
Source§impl ComposeLsCommand
impl ComposeLsCommand
Sourcepub fn format_json(self) -> Self
pub fn format_json(self) -> Self
Set output format to JSON
Trait Implementations§
Source§impl Clone for ComposeLsCommand
impl Clone for ComposeLsCommand
Source§fn clone(&self) -> ComposeLsCommand
fn clone(&self) -> ComposeLsCommand
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 ComposeCommandV2 for ComposeLsCommand
impl ComposeCommandV2 for ComposeLsCommand
Source§fn get_config(&self) -> &ComposeConfig
fn get_config(&self) -> &ComposeConfig
Get the compose configuration
Source§fn get_config_mut(&mut self) -> &mut ComposeConfig
fn get_config_mut(&mut self) -> &mut ComposeConfig
Get mutable compose configuration
Source§fn execute_compose<'life0, 'async_trait>(
&'life0 self,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_compose<'life0, 'async_trait>(
&'life0 self,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute compose command with given arguments
Source§impl Debug for ComposeLsCommand
impl Debug for ComposeLsCommand
Source§impl Default for ComposeLsCommand
impl Default for ComposeLsCommand
Source§fn default() -> ComposeLsCommand
fn default() -> ComposeLsCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComposeLsCommand
impl RefUnwindSafe for ComposeLsCommand
impl Send for ComposeLsCommand
impl Sync for ComposeLsCommand
impl Unpin for ComposeLsCommand
impl UnwindSafe for ComposeLsCommand
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