pub struct ComposeDownResult {
pub stdout: String,
pub stderr: String,
pub success: bool,
pub removed_volumes: bool,
pub removed_images: bool,
}Expand description
Result from compose down command
Fields§
§stdout: StringRaw stdout output
stderr: StringRaw stderr output
success: boolSuccess status
removed_volumes: boolWhether volumes were removed
removed_images: boolWhether images were removed
Implementations§
Source§impl ComposeDownResult
impl ComposeDownResult
Sourcepub fn volumes_removed(&self) -> bool
pub fn volumes_removed(&self) -> bool
Check if volumes were removed
Sourcepub fn images_removed(&self) -> bool
pub fn images_removed(&self) -> bool
Check if images were removed
Trait Implementations§
Source§impl Clone for ComposeDownResult
impl Clone for ComposeDownResult
Source§fn clone(&self) -> ComposeDownResult
fn clone(&self) -> ComposeDownResult
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 ComposeDownResult
impl RefUnwindSafe for ComposeDownResult
impl Send for ComposeDownResult
impl Sync for ComposeDownResult
impl Unpin for ComposeDownResult
impl UnwindSafe for ComposeDownResult
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