pub struct ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext {
pub disable: Box<Option<bool>>,
pub level: Box<Option<String>>,
pub role: Box<Option<String>>,
pub type: Box<Option<String>>,
pub user: Box<Option<String>>,
}
Fields§
§disable: Box<Option<bool>>
Disable SELinux
level: Box<Option<String>>
SELinux level label
role: Box<Option<String>>
SELinux role label
type: Box<Option<String>>
SELinux type label
user: Box<Option<String>>
SELinux user label
Implementations§
source§impl ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
sourcepub fn builder() -> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder
Create an instance of ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
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
Auto Trait Implementations§
impl Freeze for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl RefUnwindSafe for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl Send for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl Sync for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl Unpin for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
impl UnwindSafe for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
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