pub struct ContextAuditSnapshot {
pub id: String,
pub stage: ContextAuditStage,
pub purpose: String,
pub messages: Vec<ModelMessage>,
pub tools: Vec<ModelToolDefinition>,
pub protocol_overhead_tokens: u64,
pub reserved_output_tokens: u64,
pub estimated_tokens: u64,
pub request_digest: String,
}Fields§
§id: String§stage: ContextAuditStage§purpose: String§messages: Vec<ModelMessage>§tools: Vec<ModelToolDefinition>§protocol_overhead_tokens: u64§reserved_output_tokens: u64§estimated_tokens: u64§request_digest: StringDigest of the exact messages, Tool projection, and output reservation used for the corresponding model request.
Trait Implementations§
Source§impl Clone for ContextAuditSnapshot
impl Clone for ContextAuditSnapshot
Source§fn clone(&self) -> ContextAuditSnapshot
fn clone(&self) -> ContextAuditSnapshot
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 moreAuto Trait Implementations§
impl Freeze for ContextAuditSnapshot
impl RefUnwindSafe for ContextAuditSnapshot
impl Send for ContextAuditSnapshot
impl Sync for ContextAuditSnapshot
impl Unpin for ContextAuditSnapshot
impl UnsafeUnpin for ContextAuditSnapshot
impl UnwindSafe for ContextAuditSnapshot
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