pub struct ProvenanceEntry {
pub sha256: String,
pub source: String,
pub decoder_version: String,
pub ocr_engine_version: Option<String>,
pub turn_id: u64,
pub recorded_at: DateTime<Utc>,
}Expand description
One line in <agent_dir>/telemetry/inputs.jsonl.
Append-only; per-turn read by B0SafetyHook::on_prompt_submit to
know which untrusted artifacts to wrap.
Fields§
§sha256: String§source: Stringe.g. "user_drop", "user_paste", "a2a_attachment".
decoder_version: String§ocr_engine_version: Option<String>§turn_id: u64Monotonic per-agent turn counter.
recorded_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ProvenanceEntry
impl Clone for ProvenanceEntry
Source§fn clone(&self) -> ProvenanceEntry
fn clone(&self) -> ProvenanceEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProvenanceEntry
impl Debug for ProvenanceEntry
Source§impl<'de> Deserialize<'de> for ProvenanceEntry
impl<'de> Deserialize<'de> for ProvenanceEntry
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 ProvenanceEntry
impl RefUnwindSafe for ProvenanceEntry
impl Send for ProvenanceEntry
impl Sync for ProvenanceEntry
impl Unpin for ProvenanceEntry
impl UnsafeUnpin for ProvenanceEntry
impl UnwindSafe for ProvenanceEntry
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