pub struct CommandOutputLine {
pub content: TLine,
pub origin: CommandStream,
}Expand description
a line coming either from stdout or from stderr
Fields§
§content: TLine§origin: CommandStreamTrait Implementations§
Source§impl Clone for CommandOutputLine
impl Clone for CommandOutputLine
Source§fn clone(&self) -> CommandOutputLine
fn clone(&self) -> CommandOutputLine
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 CommandOutputLine
impl Debug for CommandOutputLine
Source§impl<'de> Deserialize<'de> for CommandOutputLine
impl<'de> Deserialize<'de> for CommandOutputLine
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
Source§impl From<CommandOutputLine> for Line
impl From<CommandOutputLine> for Line
Source§fn from(col: CommandOutputLine) -> Self
fn from(col: CommandOutputLine) -> Self
Converts to this type from the input type.
Source§impl From<RawCommandOutputLine> for CommandOutputLine
impl From<RawCommandOutputLine> for CommandOutputLine
Source§fn from(raw: RawCommandOutputLine) -> Self
fn from(raw: RawCommandOutputLine) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandOutputLine
impl PartialEq for CommandOutputLine
Source§impl Serialize for CommandOutputLine
impl Serialize for CommandOutputLine
impl Eq for CommandOutputLine
impl StructuralPartialEq for CommandOutputLine
Auto Trait Implementations§
impl Freeze for CommandOutputLine
impl RefUnwindSafe for CommandOutputLine
impl Send for CommandOutputLine
impl Sync for CommandOutputLine
impl Unpin for CommandOutputLine
impl UnwindSafe for CommandOutputLine
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,
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.Source§impl<T> IQ for Twhere
T: Serialize,
impl<T> IQ for Twhere
T: Serialize,
Source§fn extract_primitive<P>(&self, path: P) -> Option<String>where
P: IqPath,
fn extract_primitive<P>(&self, path: P) -> Option<String>where
P: IqPath,
Extract a “primitive” value (including strings, simple enum variants, etc)
as a string using the Display implementation of the deep value.
Source§fn extract_json_pretty<P>(&self, path: P) -> Option<String>where
P: IqPath,
fn extract_json_pretty<P>(&self, path: P) -> Option<String>where
P: IqPath,
Extract a value as JSON, pretty
Source§fn extract_value<P, V>(&self, path: P) -> Result<Option<V>, IqError>where
P: IqPath,
V: DeserializeOwned,
fn extract_value<P, V>(&self, path: P) -> Result<Option<V>, IqError>where
P: IqPath,
V: DeserializeOwned,
Extract a value in a type which must implement
Deserialize, from a value, at
the given path. Read more