pub struct ComputerUseAuthContext {
pub principal_id: String,
pub tenant_id: Option<String>,
pub session_id: String,
pub execution_group_id: String,
pub requested_mode: ExecutionMode,
pub action_class: ActionClass,
pub target_app: Option<String>,
pub target_window: Option<String>,
pub policy_digest: String,
}Expand description
Authenticated identity and exact operation context forwarded to the runtime.
Fields§
§principal_id: StringAuthenticated principal proposing the action.
tenant_id: Option<String>Authenticated tenant, when multi-tenant.
session_id: StringThe session the action belongs to.
execution_group_id: StringExecution group for multi-agent coordination.
requested_mode: ExecutionModeThe execution mode being requested.
action_class: ActionClassThe operation-aware action class.
target_app: Option<String>Target application/bundle identifier, when applicable.
target_window: Option<String>Target window identifier, when applicable.
policy_digest: StringDigest of the policy under which the action is proposed.
Trait Implementations§
Source§impl Clone for ComputerUseAuthContext
impl Clone for ComputerUseAuthContext
Source§fn clone(&self) -> ComputerUseAuthContext
fn clone(&self) -> ComputerUseAuthContext
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 ComputerUseAuthContext
impl Debug for ComputerUseAuthContext
impl Eq for ComputerUseAuthContext
Source§impl PartialEq for ComputerUseAuthContext
impl PartialEq for ComputerUseAuthContext
impl StructuralPartialEq for ComputerUseAuthContext
Auto Trait Implementations§
impl Freeze for ComputerUseAuthContext
impl RefUnwindSafe for ComputerUseAuthContext
impl Send for ComputerUseAuthContext
impl Sync for ComputerUseAuthContext
impl Unpin for ComputerUseAuthContext
impl UnsafeUnpin for ComputerUseAuthContext
impl UnwindSafe for ComputerUseAuthContext
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.