pub struct GateEvent {
pub timestamp: i64,
pub agent_id: String,
pub tool_name: String,
pub taint_level: TaintLevel,
pub clearance: TaintLevel,
pub allowed: bool,
pub decision_source: GateDecisionSource,
}Expand description
A single gate event for audit logging.
Fields§
§timestamp: i64Timestamp of the event.
agent_id: StringAgent that triggered the gate.
tool_name: StringTool being invoked.
taint_level: TaintLevelTaint level at time of check.
clearance: TaintLevelTool’s clearance level.
allowed: boolWhether the action was allowed.
decision_source: GateDecisionSourceHow the decision was made.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GateEvent
impl<'de> Deserialize<'de> for GateEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GateEvent
impl RefUnwindSafe for GateEvent
impl Send for GateEvent
impl Sync for GateEvent
impl Unpin for GateEvent
impl UnsafeUnpin for GateEvent
impl UnwindSafe for GateEvent
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