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