pub struct Situation {
pub description: String,
pub qualifiers: Value,
}Expand description
Context passed to every policy evaluation call. Keys are populated by the call site so selectors can key on symbol_id, agent_id, etc.
Fields§
§description: String§qualifiers: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Situation
impl RefUnwindSafe for Situation
impl Send for Situation
impl Sync for Situation
impl Unpin for Situation
impl UnsafeUnpin for Situation
impl UnwindSafe for Situation
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