pub struct ComposeRunResult {
pub stdout: String,
pub stderr: String,
pub success: bool,
pub exit_code: i32,
pub service: String,
pub detached: bool,
}Expand description
Result from compose run command
Fields§
§stdout: StringRaw stdout output
stderr: StringRaw stderr output
success: boolSuccess status
exit_code: i32Exit code from the container
service: StringService that was run
detached: boolWhether the container was run in detached mode
Implementations§
Trait Implementations§
Source§impl Clone for ComposeRunResult
impl Clone for ComposeRunResult
Source§fn clone(&self) -> ComposeRunResult
fn clone(&self) -> ComposeRunResult
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 ComposeRunResult
impl RefUnwindSafe for ComposeRunResult
impl Send for ComposeRunResult
impl Sync for ComposeRunResult
impl Unpin for ComposeRunResult
impl UnwindSafe for ComposeRunResult
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