Struct k8s_openapi::api::policy::v1beta1::RunAsGroupStrategyOptions
source · [−]Expand description
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.
Fields
ranges: Option<Vec<IDRange>>
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
rule: String
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
Trait Implementations
sourceimpl Clone for RunAsGroupStrategyOptions
impl Clone for RunAsGroupStrategyOptions
sourcefn clone(&self) -> RunAsGroupStrategyOptions
fn clone(&self) -> RunAsGroupStrategyOptions
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 RunAsGroupStrategyOptions
impl Debug for RunAsGroupStrategyOptions
sourceimpl Default for RunAsGroupStrategyOptions
impl Default for RunAsGroupStrategyOptions
sourcefn default() -> RunAsGroupStrategyOptions
fn default() -> RunAsGroupStrategyOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RunAsGroupStrategyOptions
impl<'de> Deserialize<'de> for RunAsGroupStrategyOptions
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<RunAsGroupStrategyOptions> for RunAsGroupStrategyOptions
impl PartialEq<RunAsGroupStrategyOptions> for RunAsGroupStrategyOptions
sourcefn eq(&self, other: &RunAsGroupStrategyOptions) -> bool
fn eq(&self, other: &RunAsGroupStrategyOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RunAsGroupStrategyOptions) -> bool
fn ne(&self, other: &RunAsGroupStrategyOptions) -> bool
This method tests for !=
.
sourceimpl Serialize for RunAsGroupStrategyOptions
impl Serialize for RunAsGroupStrategyOptions
impl StructuralPartialEq for RunAsGroupStrategyOptions
Auto Trait Implementations
impl RefUnwindSafe for RunAsGroupStrategyOptions
impl Send for RunAsGroupStrategyOptions
impl Sync for RunAsGroupStrategyOptions
impl Unpin for RunAsGroupStrategyOptions
impl UnwindSafe for RunAsGroupStrategyOptions
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