pub struct ComposeOutput {
pub stdout: String,
pub stderr: String,
pub exit_code: i32,
pub success: bool,
}
Expand description
Output from a compose command
Fields§
§stdout: String
Standard output
stderr: String
Standard error
exit_code: i32
Exit code
success: bool
Whether the command succeeded
Implementations§
Source§impl ComposeOutput
impl ComposeOutput
Sourcepub fn stdout_lines(&self) -> Vec<&str>
pub fn stdout_lines(&self) -> Vec<&str>
Get stdout lines
Sourcepub fn stderr_lines(&self) -> Vec<&str>
pub fn stderr_lines(&self) -> Vec<&str>
Get stderr lines
Trait Implementations§
Source§impl Clone for ComposeOutput
impl Clone for ComposeOutput
Source§fn clone(&self) -> ComposeOutput
fn clone(&self) -> ComposeOutput
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 ComposeOutput
impl RefUnwindSafe for ComposeOutput
impl Send for ComposeOutput
impl Sync for ComposeOutput
impl Unpin for ComposeOutput
impl UnwindSafe for ComposeOutput
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