pub struct PauseResult {
pub output: CommandOutput,
pub containers: Vec<String>,
}
Expand description
Result from the pause command
Fields§
§output: CommandOutput
Raw command output
containers: Vec<String>
Containers that were paused
Implementations§
Source§impl PauseResult
impl PauseResult
Sourcepub fn paused_containers(&self) -> &[String]
pub fn paused_containers(&self) -> &[String]
Get the paused container names
Sourcepub fn paused_count(&self) -> usize
pub fn paused_count(&self) -> usize
Get the count of paused containers
Trait Implementations§
Source§impl Clone for PauseResult
impl Clone for PauseResult
Source§fn clone(&self) -> PauseResult
fn clone(&self) -> PauseResult
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 moreAuto Trait Implementations§
impl Freeze for PauseResult
impl RefUnwindSafe for PauseResult
impl Send for PauseResult
impl Sync for PauseResult
impl Unpin for PauseResult
impl UnwindSafe for PauseResult
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