pub struct GroupSummary {
pub name: String,
pub capabilities: Vec<String>,
pub description: Option<String>,
pub unsafe_admin: bool,
pub builtin: bool,
}Expand description
Summary of a group returned by [AdminKernelRequest::GroupList].
Fields§
§name: StringGroup name.
capabilities: Vec<String>Capability patterns conferred by this group.
description: Option<String>Human-readable description.
unsafe_admin: boolWhether the group opted in to granting the universal *.
builtin: booltrue for built-in groups (admin, agent, restricted).
Clients should treat built-ins as read-only.
Trait Implementations§
Source§impl Clone for GroupSummary
impl Clone for GroupSummary
Source§fn clone(&self) -> GroupSummary
fn clone(&self) -> GroupSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupSummary
impl Debug for GroupSummary
Source§impl<'de> Deserialize<'de> for GroupSummary
impl<'de> Deserialize<'de> for GroupSummary
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
impl Eq for GroupSummary
Source§impl PartialEq for GroupSummary
impl PartialEq for GroupSummary
Source§fn eq(&self, other: &GroupSummary) -> bool
fn eq(&self, other: &GroupSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroupSummary
impl Serialize for GroupSummary
impl StructuralPartialEq for GroupSummary
Auto Trait Implementations§
impl Freeze for GroupSummary
impl RefUnwindSafe for GroupSummary
impl Send for GroupSummary
impl Sync for GroupSummary
impl Unpin for GroupSummary
impl UnsafeUnpin for GroupSummary
impl UnwindSafe for GroupSummary
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.