pub struct Call<'a> {
pub tool: &'a str,
pub tags: &'a [TrifectaTag],
pub caller: PolicyCaller,
pub principal: Option<&'a str>,
pub args: &'a Value,
}Expand description
What a call looks like to the policy list.
Fields§
§tool: &'a strThe trifecta tags the registry computed for this tool. Until now these were folded once at startup and then never consulted again.
caller: PolicyCaller§principal: Option<&'a str>§args: &'a ValueAuto Trait Implementations§
impl<'a> Freeze for Call<'a>
impl<'a> RefUnwindSafe for Call<'a>
impl<'a> Send for Call<'a>
impl<'a> Sync for Call<'a>
impl<'a> Unpin for Call<'a>
impl<'a> UnsafeUnpin for Call<'a>
impl<'a> UnwindSafe for Call<'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