Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::SELinuxOptions [−][src]
pub struct SELinuxOptions {
pub level: Option<String>,
pub role: Option<String>,
pub type_: Option<String>,
pub user: Option<String>,
}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
impl Clone for SELinuxOptions[src]
impl Clone for SELinuxOptionsfn clone(&self) -> SELinuxOptions[src]
fn clone(&self) -> SELinuxOptionsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SELinuxOptions[src]
impl Debug for SELinuxOptionsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for SELinuxOptions[src]
impl Default for SELinuxOptionsfn default() -> SELinuxOptions[src]
fn default() -> SELinuxOptionsReturns the "default value" for a type. Read more
impl PartialEq for SELinuxOptions[src]
impl PartialEq for SELinuxOptionsfn eq(&self, other: &SELinuxOptions) -> bool[src]
fn eq(&self, other: &SELinuxOptions) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SELinuxOptions) -> bool[src]
fn ne(&self, other: &SELinuxOptions) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for SELinuxOptions[src]
impl<'de> Deserialize<'de> for SELinuxOptionsfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for SELinuxOptions[src]
impl Serialize for SELinuxOptionsAuto Trait Implementations
impl Send for SELinuxOptions
impl Send for SELinuxOptionsimpl Sync for SELinuxOptions
impl Sync for SELinuxOptions