pub struct AuthenticatedActor {
pub workspace_id: WorkspaceId,
pub capabilities: BTreeSet<Capability>,
pub actor_metadata: BTreeMap<String, Value>,
}Expand description
The workspace and capabilities a credential resolves to.
Fields§
§workspace_id: WorkspaceIdThe single workspace this credential is scoped to.
capabilities: BTreeSet<Capability>The capabilities granted within that workspace.
actor_metadata: BTreeMap<String, Value>Safe actor fields copied verbatim into RequestContext::actor_metadata.
Trait Implementations§
Source§impl Clone for AuthenticatedActor
impl Clone for AuthenticatedActor
Source§fn clone(&self) -> AuthenticatedActor
fn clone(&self) -> AuthenticatedActor
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 moreAuto Trait Implementations§
impl Freeze for AuthenticatedActor
impl RefUnwindSafe for AuthenticatedActor
impl Send for AuthenticatedActor
impl Sync for AuthenticatedActor
impl Unpin for AuthenticatedActor
impl UnsafeUnpin for AuthenticatedActor
impl UnwindSafe for AuthenticatedActor
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