pub struct ShellOutputLine {
pub stream: ShellStream,
pub text: String,
}Expand description
One line of output from a builtin or an external command.
Fields§
§stream: ShellStream§text: StringTrait Implementations§
Source§impl Clone for ShellOutputLine
impl Clone for ShellOutputLine
Source§fn clone(&self) -> ShellOutputLine
fn clone(&self) -> ShellOutputLine
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 ShellOutputLine
impl Debug for ShellOutputLine
impl Eq for ShellOutputLine
Source§impl PartialEq for ShellOutputLine
impl PartialEq for ShellOutputLine
impl StructuralPartialEq for ShellOutputLine
Auto Trait Implementations§
impl Freeze for ShellOutputLine
impl RefUnwindSafe for ShellOutputLine
impl Send for ShellOutputLine
impl Sync for ShellOutputLine
impl Unpin for ShellOutputLine
impl UnsafeUnpin for ShellOutputLine
impl UnwindSafe for ShellOutputLine
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more