pub struct ShellCommandOutputContent {
pub stdout: Option<String>,
pub stderr: Option<String>,
pub exit_code: Option<i64>,
pub timed_out: Option<bool>,
}Expand description
The output of a single shell command execution.
Fields§
§stdout: Option<String>§stderr: Option<String>§exit_code: Option<i64>§timed_out: Option<bool>Trait Implementations§
Source§impl Clone for ShellCommandOutputContent
impl Clone for ShellCommandOutputContent
Source§fn clone(&self) -> ShellCommandOutputContent
fn clone(&self) -> ShellCommandOutputContent
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 ShellCommandOutputContent
impl Debug for ShellCommandOutputContent
Source§impl Default for ShellCommandOutputContent
impl Default for ShellCommandOutputContent
Source§fn default() -> ShellCommandOutputContent
fn default() -> ShellCommandOutputContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellCommandOutputContent
impl<'de> Deserialize<'de> for ShellCommandOutputContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShellCommandOutputContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShellCommandOutputContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ShellCommandOutputContent
impl Serialize for ShellCommandOutputContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ShellCommandOutputContent
Auto Trait Implementations§
impl Freeze for ShellCommandOutputContent
impl RefUnwindSafe for ShellCommandOutputContent
impl Send for ShellCommandOutputContent
impl Sync for ShellCommandOutputContent
impl Unpin for ShellCommandOutputContent
impl UnsafeUnpin for ShellCommandOutputContent
impl UnwindSafe for ShellCommandOutputContent
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