pub struct ExecHostJson {
pub name: String,
pub ok: bool,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub duration_ms: u64,
pub error: Option<String>,
}Expand description
One entry in multi-host exec --all --json.
Fields§
§name: StringVPS name.
ok: boolWhether remote exit was 0.
exit_code: Option<i32>Remote exit code.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr.
duration_ms: u64Duration in milliseconds.
error: Option<String>Error summary.
Trait Implementations§
Source§impl Clone for ExecHostJson
impl Clone for ExecHostJson
Source§fn clone(&self) -> ExecHostJson
fn clone(&self) -> ExecHostJson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecHostJson
impl Debug for ExecHostJson
Source§impl<'de> Deserialize<'de> for ExecHostJson
impl<'de> Deserialize<'de> for ExecHostJson
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
impl Eq for ExecHostJson
Source§impl PartialEq for ExecHostJson
impl PartialEq for ExecHostJson
Source§impl Serialize for ExecHostJson
impl Serialize for ExecHostJson
impl StructuralPartialEq for ExecHostJson
Auto Trait Implementations§
impl Freeze for ExecHostJson
impl RefUnwindSafe for ExecHostJson
impl Send for ExecHostJson
impl Sync for ExecHostJson
impl Unpin for ExecHostJson
impl UnsafeUnpin for ExecHostJson
impl UnwindSafe for ExecHostJson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.