pub struct ActionRequest<'a> {
pub env: Environment,
pub is_replay: bool,
pub dry_run: bool,
pub action: ActionDecl<'a>,
pub approval_token_present: bool,
pub replay: ReplayAccounting,
}Expand description
A policy evaluation input for a single action.
Fields§
§env: EnvironmentTarget environment.
is_replay: boolWhether this request is part of a replay execution.
dry_run: boolWhether this request is a dry-run (must not execute side effects).
action: ActionDecl<'a>Declared capability.
approval_token_present: boolWhether an approval token is present.
replay: ReplayAccountingReplay accounting snapshot.
Trait Implementations§
Source§impl<'a> Clone for ActionRequest<'a>
impl<'a> Clone for ActionRequest<'a>
Source§fn clone(&self) -> ActionRequest<'a>
fn clone(&self) -> ActionRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ActionRequest<'a>
impl<'a> Debug for ActionRequest<'a>
Source§impl<'a> PartialEq for ActionRequest<'a>
impl<'a> PartialEq for ActionRequest<'a>
impl<'a> Copy for ActionRequest<'a>
impl<'a> Eq for ActionRequest<'a>
impl<'a> StructuralPartialEq for ActionRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for ActionRequest<'a>
impl<'a> RefUnwindSafe for ActionRequest<'a>
impl<'a> Send for ActionRequest<'a>
impl<'a> Sync for ActionRequest<'a>
impl<'a> Unpin for ActionRequest<'a>
impl<'a> UnwindSafe for ActionRequest<'a>
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