pub struct DaemonRuntime {
pub privileged: Option<bool>,
pub pid_namespace: Option<String>,
pub network_mode: Option<String>,
pub mounts: Vec<DaemonRuntimeMount>,
pub user: Option<String>,
}Fields§
§privileged: Option<bool>Run the daemon container with elevated host capabilities.
pid_namespace: Option<String>Process namespace mode. Supported values are host and private.
network_mode: Option<String>Network mode. Supported values are host and appnet.
mounts: Vec<DaemonRuntimeMount>Host mounts exposed to the daemon container.
user: Option<String>Runtime user, as a numeric uid or uid:gid string.
Trait Implementations§
Source§impl Clone for DaemonRuntime
impl Clone for DaemonRuntime
Source§fn clone(&self) -> DaemonRuntime
fn clone(&self) -> DaemonRuntime
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 DaemonRuntime
impl Debug for DaemonRuntime
Source§impl Default for DaemonRuntime
impl Default for DaemonRuntime
Source§fn default() -> DaemonRuntime
fn default() -> DaemonRuntime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DaemonRuntime
impl<'de> Deserialize<'de> for DaemonRuntime
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 Eq for DaemonRuntime
Source§impl PartialEq for DaemonRuntime
impl PartialEq for DaemonRuntime
Source§fn eq(&self, other: &DaemonRuntime) -> bool
fn eq(&self, other: &DaemonRuntime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DaemonRuntime
impl Serialize for DaemonRuntime
impl StructuralPartialEq for DaemonRuntime
Auto Trait Implementations§
impl Freeze for DaemonRuntime
impl RefUnwindSafe for DaemonRuntime
impl Send for DaemonRuntime
impl Sync for DaemonRuntime
impl Unpin for DaemonRuntime
impl UnsafeUnpin for DaemonRuntime
impl UnwindSafe for DaemonRuntime
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.