pub struct ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State = __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Disable, __Level, __Role, __Type, __User> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<(__Disable, __Level, __Role, __Type, __User)>
impl<__Disable, __Level, __Role, __Type, __User> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<(__Disable, __Level, __Role, __Type, __User)>
sourcepub fn build_struct(
self,
) -> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextwhere
__Disable: IntoSet<Option<Box<Option<bool>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__disable>,
__Level: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__level>,
__Role: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__role>,
__Type: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__type>,
__User: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__user>,
pub fn build_struct(
self,
) -> ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextwhere
__Disable: IntoSet<Option<Box<Option<bool>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__disable>,
__Level: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__level>,
__Role: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__role>,
__Type: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__type>,
__User: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder__user>,
Finishes building and returns the requested object.
sourcepub fn maybe_disable(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Disablewhere
__Disable: IsUnset,
pub fn maybe_disable(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Disablewhere
__Disable: IsUnset,
Same as [Self::r#disable
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn disable(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Disablewhere
__Disable: IsUnset,
pub fn disable(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Disablewhere
__Disable: IsUnset,
Disable SELinux
sourcepub fn maybe_level(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Levelwhere
__Level: IsUnset,
pub fn maybe_level(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Levelwhere
__Level: IsUnset,
Same as [Self::r#level
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn level(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Levelwhere
__Level: IsUnset,
pub fn level(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Levelwhere
__Level: IsUnset,
SELinux level label
sourcepub fn maybe_role(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Rolewhere
__Role: IsUnset,
pub fn maybe_role(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Rolewhere
__Role: IsUnset,
Same as [Self::r#role
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn role(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Rolewhere
__Role: IsUnset,
pub fn role(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Rolewhere
__Role: IsUnset,
SELinux role label
sourcepub fn maybe_type(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Typewhere
__Type: IsUnset,
pub fn maybe_type(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Typewhere
__Type: IsUnset,
Same as [Self::r#type
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn type(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Typewhere
__Type: IsUnset,
pub fn type(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilderSetMember>::Typewhere
__Type: IsUnset,
SELinux type label
Auto Trait Implementations§
impl<___State> Freeze for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: Send,
impl<___State> Sync for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextBuilder<___State>where
___State: UnwindSafe,
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