pub struct Group {
pub name: String,
pub description: Option<String>,
pub roles: Vec<Role>,
pub ldap_group_reference: Option<String>,
}Expand description
A user group with associated roles and optional LDAP mapping.
Fields§
§name: StringThe name of the group.
description: Option<String>A description of the group.
roles: Vec<Role>The roles assigned to this group.
ldap_group_reference: Option<String>An optional LDAP group reference for external authentication.
Implementations§
Trait Implementations§
Source§impl PartialOrd for Group
impl PartialOrd for Group
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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<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.