pub struct AccessGrant {
pub resource: String,
pub operations: Vec<AccessGrantOp>,
pub span: SourceSpan,
}Expand description
Access grant metadata (with access to <resource> { <grant clauses> }) on an
effect. On tell, it narrows the turn’s effective authority per Proposal A
(spec/agent-harness.md). On invoke, it is the explicit start-grant surface for
narrowing the child workflow’s authority.
Fields§
§resource: String§operations: Vec<AccessGrantOp>§span: SourceSpanTrait Implementations§
Source§impl Clone for AccessGrant
impl Clone for AccessGrant
Source§fn clone(&self) -> AccessGrant
fn clone(&self) -> AccessGrant
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 AccessGrant
impl Debug for AccessGrant
impl Eq for AccessGrant
Source§impl PartialEq for AccessGrant
impl PartialEq for AccessGrant
impl StructuralPartialEq for AccessGrant
Auto Trait Implementations§
impl Freeze for AccessGrant
impl RefUnwindSafe for AccessGrant
impl Send for AccessGrant
impl Sync for AccessGrant
impl Unpin for AccessGrant
impl UnsafeUnpin for AccessGrant
impl UnwindSafe for AccessGrant
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