pub struct ComposeWatchCommand {
pub config: ComposeConfig,
pub no_up: bool,
pub services: Vec<String>,
}
Expand description
Docker Compose watch command
Watch build context for changes and rebuild/restart services automatically.
Fields§
§config: ComposeConfig
Base configuration
no_up: bool
Don’t build images
services: Vec<String>
Services to watch
Implementations§
Source§impl ComposeWatchCommand
impl ComposeWatchCommand
Trait Implementations§
Source§impl Clone for ComposeWatchCommand
impl Clone for ComposeWatchCommand
Source§fn clone(&self) -> ComposeWatchCommand
fn clone(&self) -> ComposeWatchCommand
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 ComposeWatchCommand
impl ComposeCommandV2 for ComposeWatchCommand
Source§type Output = WatchResult
type Output = WatchResult
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 ComposeWatchCommand
impl Debug for ComposeWatchCommand
Source§impl Default for ComposeWatchCommand
impl Default for ComposeWatchCommand
Source§fn default() -> ComposeWatchCommand
fn default() -> ComposeWatchCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComposeWatchCommand
impl RefUnwindSafe for ComposeWatchCommand
impl Send for ComposeWatchCommand
impl Sync for ComposeWatchCommand
impl Unpin for ComposeWatchCommand
impl UnwindSafe for ComposeWatchCommand
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