pub struct Process<'a> {
pub command: &'a str,
pub options: Vec<&'a str>,
}
Expand description
Represents a single process.
Fields§
§command: &'a str
The command to use. (e.g. cargo
)
options: Vec<&'a str>
The command options. (e.g. ["build", "--release"]
)
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Process<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Process<'a>
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<'a> Ord for Process<'a>
impl<'a> Ord for Process<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for Process<'a>
impl<'a> PartialOrd for Process<'a>
impl<'a> Eq for Process<'a>
impl<'a> StructuralPartialEq for Process<'a>
Auto Trait Implementations§
impl<'a> Freeze for Process<'a>
impl<'a> RefUnwindSafe for Process<'a>
impl<'a> Send for Process<'a>
impl<'a> Sync for Process<'a>
impl<'a> Unpin for Process<'a>
impl<'a> UnwindSafe for Process<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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