Struct k8s_openapi::api::policy::v1beta1::SELinuxStrategyOptions
source · [−]pub struct SELinuxStrategyOptions {
pub rule: String,
pub se_linux_options: Option<SELinuxOptions>,
}
Expand description
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.
Fields
rule: String
rule is the strategy that will dictate the allowable labels that may be set.
se_linux_options: Option<SELinuxOptions>
seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Trait Implementations
sourceimpl Clone for SELinuxStrategyOptions
impl Clone for SELinuxStrategyOptions
sourcefn clone(&self) -> SELinuxStrategyOptions
fn clone(&self) -> SELinuxStrategyOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SELinuxStrategyOptions
impl Debug for SELinuxStrategyOptions
sourceimpl Default for SELinuxStrategyOptions
impl Default for SELinuxStrategyOptions
sourcefn default() -> SELinuxStrategyOptions
fn default() -> SELinuxStrategyOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SELinuxStrategyOptions
impl<'de> Deserialize<'de> for SELinuxStrategyOptions
sourcefn 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
sourceimpl PartialEq<SELinuxStrategyOptions> for SELinuxStrategyOptions
impl PartialEq<SELinuxStrategyOptions> for SELinuxStrategyOptions
sourcefn eq(&self, other: &SELinuxStrategyOptions) -> bool
fn eq(&self, other: &SELinuxStrategyOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SELinuxStrategyOptions) -> bool
fn ne(&self, other: &SELinuxStrategyOptions) -> bool
This method tests for !=
.
sourceimpl Serialize for SELinuxStrategyOptions
impl Serialize for SELinuxStrategyOptions
impl StructuralPartialEq for SELinuxStrategyOptions
Auto Trait Implementations
impl RefUnwindSafe for SELinuxStrategyOptions
impl Send for SELinuxStrategyOptions
impl Sync for SELinuxStrategyOptions
impl Unpin for SELinuxStrategyOptions
impl UnwindSafe for SELinuxStrategyOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more