pub struct ContainerSecurity {
pub profile: ContainerSecurityProfile,
pub run_as_user: i64,
pub run_as_group: i64,
pub read_only_root_filesystem: bool,
}Expand description
Container process identity and filesystem security.
Fields§
§profile: ContainerSecurityProfileRuntime security profile.
run_as_user: i64Numeric UID for the container process.
run_as_group: i64Numeric GID for the container process.
read_only_root_filesystem: boolMount the root filesystem read-only.
Trait Implementations§
Source§impl Clone for ContainerSecurity
impl Clone for ContainerSecurity
Source§impl Debug for ContainerSecurity
impl Debug for ContainerSecurity
Source§impl<'de> Deserialize<'de> for ContainerSecurity
impl<'de> Deserialize<'de> for ContainerSecurity
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 ContainerSecurity
Source§impl PartialEq for ContainerSecurity
impl PartialEq for ContainerSecurity
Source§impl Serialize for ContainerSecurity
impl Serialize for ContainerSecurity
impl StructuralPartialEq for ContainerSecurity
Auto Trait Implementations§
impl Freeze for ContainerSecurity
impl RefUnwindSafe for ContainerSecurity
impl Send for ContainerSecurity
impl Sync for ContainerSecurity
impl Unpin for ContainerSecurity
impl UnsafeUnpin for ContainerSecurity
impl UnwindSafe for ContainerSecurity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.