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. +optional
role: Option<String>Role is a SELinux role label that applies to the container. +optional
type: Option<String>Type is a SELinux type label that applies to the container. +optional
user: Option<String>User is a SELinux user label that applies to the container. +optional
Implementations§
Source§impl SeLinuxOptions
impl SeLinuxOptions
pub fn new() -> SeLinuxOptions
Trait Implementations§
Source§impl Clone for SeLinuxOptions
impl Clone for SeLinuxOptions
Source§fn clone(&self) -> SeLinuxOptions
fn clone(&self) -> SeLinuxOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SeLinuxOptions
impl Debug for SeLinuxOptions
Source§impl<'de> Deserialize<'de> for SeLinuxOptions
impl<'de> Deserialize<'de> for SeLinuxOptions
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>,
Source§impl FromStr for SeLinuxOptions
Converts Query Parameters representation (style=form, explode=false) to a SeLinuxOptions value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for SeLinuxOptions
Converts Query Parameters representation (style=form, explode=false) to a SeLinuxOptions value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for SeLinuxOptions
impl PartialEq for SeLinuxOptions
Source§impl Serialize for SeLinuxOptions
impl Serialize for SeLinuxOptions
Source§impl ToString for SeLinuxOptions
Converts the SeLinuxOptions value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for SeLinuxOptions
Converts the SeLinuxOptions value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer