[][src]Struct google_run1::SecurityContext

pub struct SecurityContext {
    pub run_as_user: Option<i32>,
}

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

This type is not used in any activity, and only used as part of another schema.

Fields

run_as_user: Option<i32>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

Trait Implementations

impl Clone for SecurityContext[src]

impl Debug for SecurityContext[src]

impl Default for SecurityContext[src]

impl<'de> Deserialize<'de> for SecurityContext[src]

impl Part for SecurityContext[src]

impl Serialize for SecurityContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any