pub struct CommandEntity {
pub program: String,
pub args: Vec<String>,
pub env: Vec<String>,
}Fields§
§program: StringExecutable path or program name.
args: Vec<String>Command-line arguments.
env: Vec<String>Environment entries in KEY=VALUE form.
Trait Implementations§
Source§impl EntityBodySlot for CommandEntity
impl EntityBodySlot for CommandEntity
const KIND_NAME: &'static str = "Command"
type Value = CommandEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for CommandEntity
impl<'ʄ> Facet<'ʄ> for CommandEntity
Source§impl From<CommandEntity> for EntityBody
impl From<CommandEntity> for EntityBody
Source§fn from(value: CommandEntity) -> Self
fn from(value: CommandEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandEntity
impl RefUnwindSafe for CommandEntity
impl Send for CommandEntity
impl Sync for CommandEntity
impl Unpin for CommandEntity
impl UnsafeUnpin for CommandEntity
impl UnwindSafe for CommandEntity
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