pub struct ScopeAttributes {
pub agent_id: Option<String>,
pub delegates: bool,
}Expand description
The attributes the daemon stamps without interpreting. Both grant authority,
so only an owner listed in the daemon’s scope_authority_owners may set
either.
Fields§
§agent_id: Option<String>The agent the scope’s session belongs to. Identity, never permission.
delegates: boolWhether a provider may act as agent_id. Refused without agent_id.
Implementations§
Trait Implementations§
Source§impl Clone for ScopeAttributes
impl Clone for ScopeAttributes
Source§impl Debug for ScopeAttributes
impl Debug for ScopeAttributes
Source§impl Default for ScopeAttributes
impl Default for ScopeAttributes
Source§impl<'de> Deserialize<'de> for ScopeAttributes
impl<'de> Deserialize<'de> for ScopeAttributes
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 ScopeAttributes
Source§impl PartialEq for ScopeAttributes
impl PartialEq for ScopeAttributes
Source§impl Serialize for ScopeAttributes
impl Serialize for ScopeAttributes
impl StructuralPartialEq for ScopeAttributes
Auto Trait Implementations§
impl Freeze for ScopeAttributes
impl RefUnwindSafe for ScopeAttributes
impl Send for ScopeAttributes
impl Sync for ScopeAttributes
impl Unpin for ScopeAttributes
impl UnsafeUnpin for ScopeAttributes
impl UnwindSafe for ScopeAttributes
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