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