pub struct CheClusterComponentsDevfileRegistryDeploymentSecurityContext {
pub fs_group: Option<i64>,
pub run_as_user: Option<i64>,
}Expand description
Security options the pod should run with.
Fields§
§fs_group: Option<i64>A special supplemental group that applies to all containers in a pod. The default value is 1724.
run_as_user: Option<i64>The UID to run the entrypoint of the container process. The default value is 1724.
Trait Implementations§
Source§impl Clone for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl Clone for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Source§fn clone(&self) -> CheClusterComponentsDevfileRegistryDeploymentSecurityContext
fn clone(&self) -> CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Returns a duplicate 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 CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl Default for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Source§fn default() -> CheClusterComponentsDevfileRegistryDeploymentSecurityContext
fn default() -> CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl<'de> Deserialize<'de> for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
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 for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl PartialEq for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Source§fn eq(
&self,
other: &CheClusterComponentsDevfileRegistryDeploymentSecurityContext,
) -> bool
fn eq( &self, other: &CheClusterComponentsDevfileRegistryDeploymentSecurityContext, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
Auto Trait Implementations§
impl Freeze for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl RefUnwindSafe for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl Send for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl Sync for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl Unpin for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
impl UnwindSafe for CheClusterComponentsDevfileRegistryDeploymentSecurityContext
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