pub struct OdrlAuditEvent {
pub policy_uid: String,
pub matched_rule: Option<OdrlRuleType>,
pub subject: String,
pub action: String,
pub target: String,
pub verdict: OdrlVerdict,
pub constraint_results: Vec<ConstraintEval>,
}Expand description
A structured audit record for a single ODRL policy check.
Fields§
§policy_uid: StringThe policy UID that produced this verdict.
matched_rule: Option<OdrlRuleType>The matched rule type (or None if no rule matched).
subject: StringThe subject making the request.
action: StringThe action requested.
target: StringThe target resource.
verdict: OdrlVerdictThe final verdict.
constraint_results: Vec<ConstraintEval>Constraint evaluation results.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OdrlAuditEvent
impl RefUnwindSafe for OdrlAuditEvent
impl Send for OdrlAuditEvent
impl Sync for OdrlAuditEvent
impl Unpin for OdrlAuditEvent
impl UnsafeUnpin for OdrlAuditEvent
impl UnwindSafe for OdrlAuditEvent
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