pub struct GppLocalGroup { /* private fields */ }Implementations§
Source§impl GppLocalGroup
impl GppLocalGroup
pub fn new( sid: Option<String>, name: Option<String>, action: GppGroupAction, delete_all_users: bool, delete_all_groups: bool, has_item_level_targeting: bool, members: Vec<GppGroupMember>, ) -> Self
Sourcepub fn target(&self) -> Option<&str>
pub fn target(&self) -> Option<&str>
Returns the nonempty group SID when present, otherwise the nonempty group name.
pub fn sid(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
pub fn action(&self) -> GppGroupAction
pub fn delete_all_users(&self) -> bool
pub fn delete_all_groups(&self) -> bool
Sourcepub fn has_item_level_targeting(&self) -> bool
pub fn has_item_level_targeting(&self) -> bool
If true, a future applicability layer must evaluate targeting before applying this directive; membership must never be applied globally without evaluation.
pub fn members(&self) -> &[GppGroupMember]
Trait Implementations§
Source§impl Clone for GppLocalGroup
impl Clone for GppLocalGroup
Source§impl Debug for GppLocalGroup
impl Debug for GppLocalGroup
impl Eq for GppLocalGroup
Source§impl PartialEq for GppLocalGroup
impl PartialEq for GppLocalGroup
impl StructuralPartialEq for GppLocalGroup
Auto Trait Implementations§
impl Freeze for GppLocalGroup
impl RefUnwindSafe for GppLocalGroup
impl Send for GppLocalGroup
impl Sync for GppLocalGroup
impl Unpin for GppLocalGroup
impl UnsafeUnpin for GppLocalGroup
impl UnwindSafe for GppLocalGroup
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more