pub struct RemoteExecResult {
pub machine_id: String,
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
pub duration_ms: u64,
pub success: bool,
}Expand description
Result of a remote command execution.
Fields§
§machine_id: StringMachine that executed the command.
exit_code: i32Exit code of the command.
stdout: StringStandard output.
stderr: StringStandard error.
duration_ms: u64Execution duration in milliseconds.
success: boolWhether execution succeeded (exit_code == 0).
Trait Implementations§
Source§impl Clone for RemoteExecResult
impl Clone for RemoteExecResult
Source§fn clone(&self) -> RemoteExecResult
fn clone(&self) -> RemoteExecResult
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 moreSource§impl Debug for RemoteExecResult
impl Debug for RemoteExecResult
Source§impl<'de> Deserialize<'de> for RemoteExecResult
impl<'de> Deserialize<'de> for RemoteExecResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RemoteExecResult
impl RefUnwindSafe for RemoteExecResult
impl Send for RemoteExecResult
impl Sync for RemoteExecResult
impl Unpin for RemoteExecResult
impl UnsafeUnpin for RemoteExecResult
impl UnwindSafe for RemoteExecResult
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