Struct k8s_openapi::api::policy::v1beta1::RunAsUserStrategyOptions
source · [−]Expand description
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
Fields
ranges: Option<Vec<IDRange>>ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
rule: Stringrule is the strategy that will dictate the allowable RunAsUser values that may be set.
Trait Implementations
sourceimpl Clone for RunAsUserStrategyOptions
impl Clone for RunAsUserStrategyOptions
sourcefn clone(&self) -> RunAsUserStrategyOptions
fn clone(&self) -> RunAsUserStrategyOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RunAsUserStrategyOptions
impl Debug for RunAsUserStrategyOptions
sourceimpl Default for RunAsUserStrategyOptions
impl Default for RunAsUserStrategyOptions
sourcefn default() -> RunAsUserStrategyOptions
fn default() -> RunAsUserStrategyOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RunAsUserStrategyOptions
impl<'de> Deserialize<'de> for RunAsUserStrategyOptions
sourcefn 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
sourceimpl PartialEq<RunAsUserStrategyOptions> for RunAsUserStrategyOptions
impl PartialEq<RunAsUserStrategyOptions> for RunAsUserStrategyOptions
sourcefn eq(&self, other: &RunAsUserStrategyOptions) -> bool
fn eq(&self, other: &RunAsUserStrategyOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RunAsUserStrategyOptions) -> bool
fn ne(&self, other: &RunAsUserStrategyOptions) -> bool
This method tests for !=.
sourceimpl Serialize for RunAsUserStrategyOptions
impl Serialize for RunAsUserStrategyOptions
impl StructuralPartialEq for RunAsUserStrategyOptions
Auto Trait Implementations
impl RefUnwindSafe for RunAsUserStrategyOptions
impl Send for RunAsUserStrategyOptions
impl Sync for RunAsUserStrategyOptions
impl Unpin for RunAsUserStrategyOptions
impl UnwindSafe for RunAsUserStrategyOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more