pub struct AuditMeta {
pub step_id: String,
pub started_at: i64,
pub finished_at: i64,
pub args_hash: String,
pub side_effect: ToolSideEffect,
pub exit_status: ExitStatus,
}Expand description
Per-call audit record returned by ToolRegistry::invoke_with_audit
and stored in crate::session::TranscriptEntry::audit.
Fields§
§step_id: StringUUIDv7 step identifier (time-ordered).
started_at: i64Unix epoch millis at registry dispatch start.
finished_at: i64Unix epoch millis when the tool returned.
args_hash: StringBLAKE3 of the canonical JSON of arguments (hex-encoded).
Detects argument drift across resumes.
side_effect: ToolSideEffectSide-effect class as reported by the tool at call time.
exit_status: ExitStatusWhether the tool returned Ok or Err.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditMeta
impl<'de> Deserialize<'de> for AuditMeta
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
impl StructuralPartialEq for AuditMeta
Auto Trait Implementations§
impl Freeze for AuditMeta
impl RefUnwindSafe for AuditMeta
impl Send for AuditMeta
impl Sync for AuditMeta
impl Unpin for AuditMeta
impl UnsafeUnpin for AuditMeta
impl UnwindSafe for AuditMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more