pub struct ExitInfo {
pub error: Option<String>,
pub exit_code: Option<i32>,
}Expand description
Information about how a command ended.
This type is not used in any activity, and only used as part of another schema.
Fields§
§error: Option<String>Error message. Empty if there was no error.
exit_code: Option<i32>The exit code from the command execution.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExitInfo
impl<'de> Deserialize<'de> for ExitInfo
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 Part for ExitInfo
Auto Trait Implementations§
impl Freeze for ExitInfo
impl RefUnwindSafe for ExitInfo
impl Send for ExitInfo
impl Sync for ExitInfo
impl Unpin for ExitInfo
impl UnsafeUnpin for ExitInfo
impl UnwindSafe for ExitInfo
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