Struct podman_api_stubs::models::ContainerSecurityConfig[][src]

pub struct ContainerSecurityConfig {
Show 17 fields pub apparmor_profile: Option<String>, pub cap_add: Option<Vec<String>>, pub cap_drop: Option<Vec<String>>, pub groups: Option<Vec<String>>, pub idmappings: Option<IdMappingOptions>, pub mask: Option<Vec<String>>, pub no_new_privileges: Option<bool>, pub privileged: Option<bool>, pub procfs_opts: Option<Vec<String>>, pub read_only_filesystem: Option<bool>, pub seccomp_policy: Option<String>, pub seccomp_profile_path: Option<String>, pub selinux_opts: Option<Vec<String>>, pub umask: Option<String>, pub unmask: Option<Vec<String>>, pub user: Option<String>, pub userns: Option<Namespace>,
}
Expand description

ContainerSecurityConfig is a container’s security features, including SELinux, Apparmor, and Seccomp.

Fields

apparmor_profile: Option<String>cap_add: Option<Vec<String>>cap_drop: Option<Vec<String>>groups: Option<Vec<String>>idmappings: Option<IdMappingOptions>mask: Option<Vec<String>>no_new_privileges: Option<bool>privileged: Option<bool>procfs_opts: Option<Vec<String>>read_only_filesystem: Option<bool>seccomp_policy: Option<String>seccomp_profile_path: Option<String>selinux_opts: Option<Vec<String>>umask: Option<String>unmask: Option<Vec<String>>user: Option<String>userns: Option<Namespace>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.