Struct k8s_openapi::api::core::v1::Capabilities
source · pub struct Capabilities {
pub add: Option<Vec<String>>,
pub drop: Option<Vec<String>>,
}
Expand description
Adds and removes POSIX capabilities from running containers.
Fields§
§add: Option<Vec<String>>
Added capabilities
drop: Option<Vec<String>>
Removed capabilities
Trait Implementations§
source§impl Clone for Capabilities
impl Clone for Capabilities
source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
Returns a copy of the value. Read more
1.0.0 · 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 Capabilities
impl Debug for Capabilities
source§impl DeepMerge for Capabilities
impl DeepMerge for Capabilities
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for Capabilities
impl Default for Capabilities
source§fn default() -> Capabilities
fn default() -> Capabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Capabilities
impl<'de> Deserialize<'de> for Capabilities
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 Capabilities
impl PartialEq for Capabilities
source§fn eq(&self, other: &Capabilities) -> bool
fn eq(&self, other: &Capabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Capabilities
impl Serialize for Capabilities
impl StructuralPartialEq for Capabilities
Auto Trait Implementations§
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
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