pub struct IoK8sApiCoreV1SeLinuxOptions {
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§
Source§impl Clone for IoK8sApiCoreV1SeLinuxOptions
impl Clone for IoK8sApiCoreV1SeLinuxOptions
Source§fn clone(&self) -> IoK8sApiCoreV1SeLinuxOptions
fn clone(&self) -> IoK8sApiCoreV1SeLinuxOptions
Returns a copy 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 Debug for IoK8sApiCoreV1SeLinuxOptions
impl Debug for IoK8sApiCoreV1SeLinuxOptions
Source§impl<'de> Deserialize<'de> for IoK8sApiCoreV1SeLinuxOptions
impl<'de> Deserialize<'de> for IoK8sApiCoreV1SeLinuxOptions
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 From<&IoK8sApiCoreV1SeLinuxOptions> for IoK8sApiCoreV1SeLinuxOptions
impl From<&IoK8sApiCoreV1SeLinuxOptions> for IoK8sApiCoreV1SeLinuxOptions
Source§fn from(value: &IoK8sApiCoreV1SeLinuxOptions) -> Self
fn from(value: &IoK8sApiCoreV1SeLinuxOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1SeLinuxOptions
impl RefUnwindSafe for IoK8sApiCoreV1SeLinuxOptions
impl Send for IoK8sApiCoreV1SeLinuxOptions
impl Sync for IoK8sApiCoreV1SeLinuxOptions
impl Unpin for IoK8sApiCoreV1SeLinuxOptions
impl UnwindSafe for IoK8sApiCoreV1SeLinuxOptions
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