pub struct Shell<'a> {
pub program: Cow<'a, str>,
pub args: Vec<String>,
}
Fields§
§program: Cow<'a, str>
§args: Vec<String>
Implementations§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Shell<'a>
impl<'de, 'a> Deserialize<'de> for Shell<'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
impl<'a> Eq for Shell<'a>
impl<'a> StructuralPartialEq for Shell<'a>
Auto Trait Implementations§
impl<'a> Freeze for Shell<'a>
impl<'a> RefUnwindSafe for Shell<'a>
impl<'a> Send for Shell<'a>
impl<'a> Sync for Shell<'a>
impl<'a> Unpin for Shell<'a>
impl<'a> UnwindSafe for Shell<'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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)