pub struct PolicyGroup(/* private fields */);Expand description
A user defined group, such as information from keycloak or LDAP
Trait Implementations§
Source§impl Clone for PolicyGroup
impl Clone for PolicyGroup
Source§fn clone(&self) -> PolicyGroup
fn clone(&self) -> PolicyGroup
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 Debug for PolicyGroup
impl Debug for PolicyGroup
Source§impl From<&str> for PolicyGroup
impl From<&str> for PolicyGroup
Source§impl From<String> for PolicyGroup
impl From<String> for PolicyGroup
Source§impl FromStr for PolicyGroup
impl FromStr for PolicyGroup
Source§impl PartialEq for PolicyGroup
impl PartialEq for PolicyGroup
Source§impl ToCasbinString for PolicyGroup
impl ToCasbinString for PolicyGroup
fn to_casbin_string(self) -> String
impl Eq for PolicyGroup
impl IsSubject for PolicyGroup
impl StructuralPartialEq for PolicyGroup
Auto Trait Implementations§
impl Freeze for PolicyGroup
impl RefUnwindSafe for PolicyGroup
impl Send for PolicyGroup
impl Sync for PolicyGroup
impl Unpin for PolicyGroup
impl UnsafeUnpin for PolicyGroup
impl UnwindSafe for PolicyGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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