pub struct ProgramSection {
pub exec: Option<PathBuf>,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub cwd: Option<PathBuf>,
pub uid: Option<u32>,
pub clean_env: bool,
pub no_coredump: bool,
pub no_huge_pages: bool,
}Fields§
§exec: Option<PathBuf>§args: Vec<String>§env: HashMap<String, String>§cwd: Option<PathBuf>§uid: Option<u32>§clean_env: bool§no_coredump: bool§no_huge_pages: boolTrait Implementations§
Source§impl Clone for ProgramSection
impl Clone for ProgramSection
Source§fn clone(&self) -> ProgramSection
fn clone(&self) -> ProgramSection
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 ProgramSection
impl Debug for ProgramSection
Source§impl Default for ProgramSection
impl Default for ProgramSection
Source§fn default() -> ProgramSection
fn default() -> ProgramSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgramSectionwhere
ProgramSection: Default,
impl<'de> Deserialize<'de> for ProgramSectionwhere
ProgramSection: Default,
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 PartialEq for ProgramSection
impl PartialEq for ProgramSection
Source§fn eq(&self, other: &ProgramSection) -> bool
fn eq(&self, other: &ProgramSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgramSection
Auto Trait Implementations§
impl Freeze for ProgramSection
impl RefUnwindSafe for ProgramSection
impl Send for ProgramSection
impl Sync for ProgramSection
impl Unpin for ProgramSection
impl UnsafeUnpin for ProgramSection
impl UnwindSafe for ProgramSection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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