pub struct PoolerTemplateSpecSecurityContext {
pub fs_group: Option<i64>,
pub fs_group_change_policy: Option<String>,
pub run_as_group: Option<i64>,
pub run_as_non_root: Option<bool>,
pub run_as_user: Option<i64>,
pub se_linux_options: Option<PoolerTemplateSpecSecurityContextSeLinuxOptions>,
pub seccomp_profile: Option<PoolerTemplateSpecSecurityContextSeccompProfile>,
pub supplemental_groups: Option<Vec<i64>>,
pub sysctls: Option<Vec<PoolerTemplateSpecSecurityContextSysctls>>,
pub windows_options: Option<PoolerTemplateSpecSecurityContextWindowsOptions>,
}
Fields§
§fs_group: Option<i64>
§fs_group_change_policy: Option<String>
§run_as_group: Option<i64>
§run_as_non_root: Option<bool>
§run_as_user: Option<i64>
§se_linux_options: Option<PoolerTemplateSpecSecurityContextSeLinuxOptions>
§seccomp_profile: Option<PoolerTemplateSpecSecurityContextSeccompProfile>
§supplemental_groups: Option<Vec<i64>>
§sysctls: Option<Vec<PoolerTemplateSpecSecurityContextSysctls>>
§windows_options: Option<PoolerTemplateSpecSecurityContextWindowsOptions>
Trait Implementations§
source§impl Clone for PoolerTemplateSpecSecurityContext
impl Clone for PoolerTemplateSpecSecurityContext
source§fn clone(&self) -> PoolerTemplateSpecSecurityContext
fn clone(&self) -> PoolerTemplateSpecSecurityContext
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<'de> Deserialize<'de> for PoolerTemplateSpecSecurityContext
impl<'de> Deserialize<'de> for PoolerTemplateSpecSecurityContext
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 JsonSchema for PoolerTemplateSpecSecurityContext
impl JsonSchema for PoolerTemplateSpecSecurityContext
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for PoolerTemplateSpecSecurityContext
impl Send for PoolerTemplateSpecSecurityContext
impl Sync for PoolerTemplateSpecSecurityContext
impl Unpin for PoolerTemplateSpecSecurityContext
impl UnwindSafe for PoolerTemplateSpecSecurityContext
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