pub struct SupplementalGroupsStrategyOptions {
pub ranges: Option<Vec<IDRange>>,
pub type_: Option<String>,
}
Expand description
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
Fields§
§ranges: Option<Vec<IDRange>>
Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.
type_: Option<String>
Type is the strategy that will dictate what supplemental groups is used in the SecurityContext.
Trait Implementations§
Source§impl Clone for SupplementalGroupsStrategyOptions
impl Clone for SupplementalGroupsStrategyOptions
Source§fn clone(&self) -> SupplementalGroupsStrategyOptions
fn clone(&self) -> SupplementalGroupsStrategyOptions
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 SupplementalGroupsStrategyOptions
impl Default for SupplementalGroupsStrategyOptions
Source§fn default() -> SupplementalGroupsStrategyOptions
fn default() -> SupplementalGroupsStrategyOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupplementalGroupsStrategyOptions
impl<'de> Deserialize<'de> for SupplementalGroupsStrategyOptions
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 SupplementalGroupsStrategyOptions
impl PartialEq for SupplementalGroupsStrategyOptions
Source§fn eq(&self, other: &SupplementalGroupsStrategyOptions) -> bool
fn eq(&self, other: &SupplementalGroupsStrategyOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SupplementalGroupsStrategyOptions
Auto Trait Implementations§
impl Freeze for SupplementalGroupsStrategyOptions
impl RefUnwindSafe for SupplementalGroupsStrategyOptions
impl Send for SupplementalGroupsStrategyOptions
impl Sync for SupplementalGroupsStrategyOptions
impl Unpin for SupplementalGroupsStrategyOptions
impl UnwindSafe for SupplementalGroupsStrategyOptions
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