Struct k8s_openapi_ext::corev1::SELinuxOptions
source · [−]pub struct SELinuxOptions {
pub level: Option<String>,
pub role: Option<String>,
pub type_: Option<String>,
pub user: Option<String>,
}
Expand description
SELinuxOptions are the labels to be applied to the container
Fields
level: Option<String>
Level is SELinux level label that applies to the container.
role: Option<String>
Role is a SELinux role label that applies to the container.
type_: Option<String>
Type is a SELinux type label that applies to the container.
user: Option<String>
User is a SELinux user label that applies to the container.
Trait Implementations
sourceimpl Clone for SELinuxOptions
impl Clone for SELinuxOptions
sourcefn clone(&self) -> SELinuxOptions
fn clone(&self) -> SELinuxOptions
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 SELinuxOptions
impl Debug for SELinuxOptions
sourceimpl Default for SELinuxOptions
impl Default for SELinuxOptions
sourcefn default() -> SELinuxOptions
fn default() -> SELinuxOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SELinuxOptions
impl<'de> Deserialize<'de> for SELinuxOptions
sourcefn deserialize<D>(
deserializer: D
) -> Result<SELinuxOptions, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<SELinuxOptions, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SELinuxOptions> for SELinuxOptions
impl PartialEq<SELinuxOptions> for SELinuxOptions
sourcefn eq(&self, other: &SELinuxOptions) -> bool
fn eq(&self, other: &SELinuxOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for SELinuxOptions
impl Serialize for SELinuxOptions
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SELinuxOptions
Auto Trait Implementations
impl RefUnwindSafe for SELinuxOptions
impl Send for SELinuxOptions
impl Sync for SELinuxOptions
impl Unpin for SELinuxOptions
impl UnwindSafe for SELinuxOptions
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