pub struct SELinuxContextStrategyOptions {
pub se_linux_options: Option<SELinuxOptions>,
pub type_: Option<String>,
}
Expand description
SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.
Fields§
§se_linux_options: Option<SELinuxOptions>
seLinuxOptions required to run as; required for MustRunAs
type_: Option<String>
Type is the strategy that will dictate what SELinux context is used in the SecurityContext.
Trait Implementations§
Source§impl Clone for SELinuxContextStrategyOptions
impl Clone for SELinuxContextStrategyOptions
Source§fn clone(&self) -> SELinuxContextStrategyOptions
fn clone(&self) -> SELinuxContextStrategyOptions
Returns a duplicate 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 Default for SELinuxContextStrategyOptions
impl Default for SELinuxContextStrategyOptions
Source§fn default() -> SELinuxContextStrategyOptions
fn default() -> SELinuxContextStrategyOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SELinuxContextStrategyOptions
impl<'de> Deserialize<'de> for SELinuxContextStrategyOptions
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 SELinuxContextStrategyOptions
impl PartialEq for SELinuxContextStrategyOptions
Source§fn eq(&self, other: &SELinuxContextStrategyOptions) -> bool
fn eq(&self, other: &SELinuxContextStrategyOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SELinuxContextStrategyOptions
Auto Trait Implementations§
impl Freeze for SELinuxContextStrategyOptions
impl RefUnwindSafe for SELinuxContextStrategyOptions
impl Send for SELinuxContextStrategyOptions
impl Sync for SELinuxContextStrategyOptions
impl Unpin for SELinuxContextStrategyOptions
impl UnwindSafe for SELinuxContextStrategyOptions
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