pub struct OciProcess {
pub args: Vec<String>,
pub env: Vec<String>,
pub cwd: String,
pub uid: u32,
pub gid: u32,
pub terminal: bool,
}Expand description
Process specification from config.json.
Fields§
§args: Vec<String>Path to the executable.
env: Vec<String>Environment variables in KEY=VALUE format.
cwd: StringWorking directory inside the container.
uid: u32User ID.
gid: u32Group ID.
terminal: boolWhether a terminal is attached.
Trait Implementations§
Source§impl Clone for OciProcess
impl Clone for OciProcess
Source§fn clone(&self) -> OciProcess
fn clone(&self) -> OciProcess
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OciProcess
impl Debug for OciProcess
Source§impl PartialEq for OciProcess
impl PartialEq for OciProcess
impl Eq for OciProcess
impl StructuralPartialEq for OciProcess
Auto Trait Implementations§
impl Freeze for OciProcess
impl RefUnwindSafe for OciProcess
impl Send for OciProcess
impl Sync for OciProcess
impl Unpin for OciProcess
impl UnwindSafe for OciProcess
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)