pub struct RawCommandOutputLine {
pub content: String,
pub origin: CommandStream,
}Expand description
a line coming either from stdout or from stderr, before TTY parsing
Fields§
§content: String§origin: CommandStreamTrait Implementations§
Source§impl Clone for RawCommandOutputLine
impl Clone for RawCommandOutputLine
Source§fn clone(&self) -> RawCommandOutputLine
fn clone(&self) -> RawCommandOutputLine
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 RawCommandOutputLine
impl Debug for RawCommandOutputLine
Source§impl<'de> Deserialize<'de> for RawCommandOutputLine
impl<'de> Deserialize<'de> for RawCommandOutputLine
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<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 RawCommandOutputLine
impl PartialEq for RawCommandOutputLine
Source§impl Serialize for RawCommandOutputLine
impl Serialize for RawCommandOutputLine
impl Eq for RawCommandOutputLine
impl StructuralPartialEq for RawCommandOutputLine
Auto Trait Implementations§
impl Freeze for RawCommandOutputLine
impl RefUnwindSafe for RawCommandOutputLine
impl Send for RawCommandOutputLine
impl Sync for RawCommandOutputLine
impl Unpin for RawCommandOutputLine
impl UnwindSafe for RawCommandOutputLine
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