pub struct StopOpt {
pub containers: Vec<String>,
pub time: Option<u32>,
}
Expand description
Options for stopping a container.
Fields§
§containers: Vec<String>
Containers to stop, specified as names or IDs.
time: Option<u32>
Seconds to wait for stop before killing the container. If None, defaults to 10 seconds.
Trait Implementations§
impl Eq for StopOpt
impl StructuralPartialEq for StopOpt
Auto Trait Implementations§
impl Freeze for StopOpt
impl RefUnwindSafe for StopOpt
impl Send for StopOpt
impl Sync for StopOpt
impl Unpin for StopOpt
impl UnwindSafe for StopOpt
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