pub struct TaskSpecContainerSpecPrivileges {
pub credential_spec: Option<TaskSpecContainerSpecPrivilegesCredentialSpec>,
pub se_linux_context: Option<TaskSpecContainerSpecPrivilegesSeLinuxContext>,
}
Expand description
Security options for the container
Fields§
§credential_spec: Option<TaskSpecContainerSpecPrivilegesCredentialSpec>
§se_linux_context: Option<TaskSpecContainerSpecPrivilegesSeLinuxContext>
Trait Implementations§
source§impl Clone for TaskSpecContainerSpecPrivileges
impl Clone for TaskSpecContainerSpecPrivileges
source§fn clone(&self) -> TaskSpecContainerSpecPrivileges
fn clone(&self) -> TaskSpecContainerSpecPrivileges
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 Default for TaskSpecContainerSpecPrivileges
impl Default for TaskSpecContainerSpecPrivileges
source§fn default() -> TaskSpecContainerSpecPrivileges
fn default() -> TaskSpecContainerSpecPrivileges
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskSpecContainerSpecPrivileges
impl<'de> Deserialize<'de> for TaskSpecContainerSpecPrivileges
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 PartialEq<TaskSpecContainerSpecPrivileges> for TaskSpecContainerSpecPrivileges
impl PartialEq<TaskSpecContainerSpecPrivileges> for TaskSpecContainerSpecPrivileges
source§fn eq(&self, other: &TaskSpecContainerSpecPrivileges) -> bool
fn eq(&self, other: &TaskSpecContainerSpecPrivileges) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.