pub struct ComposeExecResult {
pub stdout: String,
pub stderr: String,
pub success: bool,
pub exit_code: i32,
pub service: String,
pub detached: bool,
}
Expand description
Result from compose exec command
Fields§
§stdout: String
Raw stdout output
stderr: String
Raw stderr output
success: bool
Success status
exit_code: i32
Exit code from the command
service: String
Service that the command was executed in
detached: bool
Whether the command was run in detached mode
Implementations§
Source§impl ComposeExecResult
impl ComposeExecResult
Sourcepub fn is_detached(&self) -> bool
pub fn is_detached(&self) -> bool
Check if the command was run in detached mode
Trait Implementations§
Source§impl Clone for ComposeExecResult
impl Clone for ComposeExecResult
Source§fn clone(&self) -> ComposeExecResult
fn clone(&self) -> ComposeExecResult
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 ComposeExecResult
impl RefUnwindSafe for ComposeExecResult
impl Send for ComposeExecResult
impl Sync for ComposeExecResult
impl Unpin for ComposeExecResult
impl UnwindSafe for ComposeExecResult
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