pub struct OciProcess {
pub terminal: bool,
pub user: OciUser,
pub args: Vec<String>,
pub env: Vec<String>,
pub cwd: String,
pub no_new_privileges: bool,
pub capabilities: Option<OciCapabilities>,
pub rlimits: Vec<OciRlimit>,
pub console_size: Option<OciConsoleSize>,
pub apparmor_profile: Option<String>,
pub selinux_label: Option<String>,
}Fields§
§terminal: bool§user: OciUser§args: Vec<String>§env: Vec<String>§cwd: String§no_new_privileges: bool§capabilities: Option<OciCapabilities>§rlimits: Vec<OciRlimit>§console_size: Option<OciConsoleSize>§apparmor_profile: Option<String>§selinux_label: Option<String>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 (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 OciProcess
impl Debug for OciProcess
Source§impl<'de> Deserialize<'de> for OciProcess
impl<'de> Deserialize<'de> for OciProcess
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
Auto Trait Implementations§
impl Freeze for OciProcess
impl RefUnwindSafe for OciProcess
impl Send for OciProcess
impl Sync for OciProcess
impl Unpin for OciProcess
impl UnsafeUnpin for OciProcess
impl UnwindSafe for OciProcess
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