pub enum OptionKind {
Show 14 variants
User,
Workdir,
Entrypoint,
Env,
Volume,
Port,
Cpus,
Memory,
Network,
Privileged,
HostNamespace,
SecurityOpt,
CapAdd,
Unknown,
}Variants§
User
Workdir
Entrypoint
Env
Volume
Port
Cpus
Memory
Network
Privileged
HostNamespace
SecurityOpt
CapAdd
Unknown
Trait Implementations§
Source§impl Clone for OptionKind
impl Clone for OptionKind
Source§fn clone(&self) -> OptionKind
fn clone(&self) -> OptionKind
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 OptionKind
impl Debug for OptionKind
Source§impl<'de> Deserialize<'de> for OptionKind
impl<'de> Deserialize<'de> for OptionKind
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 Hash for OptionKind
impl Hash for OptionKind
Source§impl PartialEq for OptionKind
impl PartialEq for OptionKind
Source§fn eq(&self, other: &OptionKind) -> bool
fn eq(&self, other: &OptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptionKind
impl Serialize for OptionKind
impl Copy for OptionKind
impl Eq for OptionKind
impl StructuralPartialEq for OptionKind
Auto Trait Implementations§
impl Freeze for OptionKind
impl RefUnwindSafe for OptionKind
impl Send for OptionKind
impl Sync for OptionKind
impl Unpin for OptionKind
impl UnsafeUnpin for OptionKind
impl UnwindSafe for OptionKind
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,
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.