pub struct PolicyCompileContext {
pub external_resources: bool,
pub target_evidence: bool,
}Expand description
Caller-owned capabilities promised to operations using the compiled policy. This is a contract, not permission to discover resources. Actual resource maps and target identities must still be supplied to each operation.
Fields§
§external_resources: boolCaller guarantees an explicit external-resource map on applicable calls.
target_evidence: boolCaller uses verify_request with nonempty expected target identities.
Auto Trait Implementations§
impl Freeze for PolicyCompileContext
impl RefUnwindSafe for PolicyCompileContext
impl Send for PolicyCompileContext
impl Sync for PolicyCompileContext
impl Unpin for PolicyCompileContext
impl UnsafeUnpin for PolicyCompileContext
impl UnwindSafe for PolicyCompileContext
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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