pub struct AgentSummary {
pub principal: PrincipalId,
pub enabled: bool,
pub groups: Vec<String>,
pub grants: Vec<String>,
pub revokes: Vec<String>,
}Expand description
Summary of an agent principal returned by
[AdminKernelRequest::AgentList].
Fields§
§principal: PrincipalIdThe principal identifier.
enabled: boolWhether the principal is currently enabled (master switch).
groups: Vec<String>Group memberships as written to profile.toml.
grants: Vec<String>Direct capability grants beyond group inheritance.
revokes: Vec<String>Explicit revokes (highest-precedence deny).
Trait Implementations§
Source§impl Clone for AgentSummary
impl Clone for AgentSummary
Source§fn clone(&self) -> AgentSummary
fn clone(&self) -> AgentSummary
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 AgentSummary
impl Debug for AgentSummary
Source§impl<'de> Deserialize<'de> for AgentSummary
impl<'de> Deserialize<'de> for AgentSummary
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 AgentSummary
Source§impl PartialEq for AgentSummary
impl PartialEq for AgentSummary
Source§fn eq(&self, other: &AgentSummary) -> bool
fn eq(&self, other: &AgentSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentSummary
impl Serialize for AgentSummary
impl StructuralPartialEq for AgentSummary
Auto Trait Implementations§
impl Freeze for AgentSummary
impl RefUnwindSafe for AgentSummary
impl Send for AgentSummary
impl Sync for AgentSummary
impl Unpin for AgentSummary
impl UnsafeUnpin for AgentSummary
impl UnwindSafe for AgentSummary
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.