pub struct ComposeEventsCommand {
pub config: ComposeConfig,
pub json: bool,
pub since: Option<String>,
pub until: Option<String>,
pub services: Vec<String>,
}
Expand description
Docker Compose events command
Stream container events for services.
Fields§
§config: ComposeConfig
Base configuration
json: bool
Output format as JSON
since: Option<String>
Start timestamp
until: Option<String>
End timestamp
services: Vec<String>
Services to get events for
Implementations§
Source§impl ComposeEventsCommand
impl ComposeEventsCommand
Trait Implementations§
Source§impl Clone for ComposeEventsCommand
impl Clone for ComposeEventsCommand
Source§fn clone(&self) -> ComposeEventsCommand
fn clone(&self) -> ComposeEventsCommand
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 ComposeEventsCommand
impl ComposeCommandV2 for ComposeEventsCommand
Source§type Output = EventsResult
type Output = EventsResult
The output type this command produces
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 ComposeEventsCommand
impl Debug for ComposeEventsCommand
Source§impl Default for ComposeEventsCommand
impl Default for ComposeEventsCommand
Source§fn default() -> ComposeEventsCommand
fn default() -> ComposeEventsCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComposeEventsCommand
impl RefUnwindSafe for ComposeEventsCommand
impl Send for ComposeEventsCommand
impl Sync for ComposeEventsCommand
impl Unpin for ComposeEventsCommand
impl UnwindSafe for ComposeEventsCommand
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