pub struct ContainerCapabilities {
pub adds: Box<Option<Vec<String>>>,
pub drops: Box<Option<Vec<String>>>,
}
Fields§
§adds: Box<Option<Vec<String>>>
List of linux capabilities to add.
drops: Box<Option<Vec<String>>>
List of linux capabilities to drop.
Implementations§
source§impl ContainerCapabilities
impl ContainerCapabilities
sourcepub fn builder() -> ContainerCapabilitiesBuilder
pub fn builder() -> ContainerCapabilitiesBuilder
Create an instance of ContainerCapabilities
using the builder syntax
Trait Implementations§
source§impl Debug for ContainerCapabilities
impl Debug for ContainerCapabilities
source§impl<'de> Deserialize<'de> for ContainerCapabilities
impl<'de> Deserialize<'de> for ContainerCapabilities
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 ContainerCapabilities
impl RefUnwindSafe for ContainerCapabilities
impl Send for ContainerCapabilities
impl Sync for ContainerCapabilities
impl Unpin for ContainerCapabilities
impl UnwindSafe for ContainerCapabilities
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