pub struct NormalizeStats {Show 17 fields
pub total: u32,
pub downgraded_developer: u32,
pub downgraded_custom_role: u32,
pub assigned_tool_call_id: u32,
pub filled_tool_result_id: u32,
pub reconciled_tool_result_id: u32,
pub flattened_tool_call: u32,
pub flattened_tool_result: u32,
pub dropped_orphan_tool_result: u32,
pub synthesized_missing_tool_result: u32,
pub dropped_unpaired_tool_call: u32,
pub dropped_foreign_reasoning: u32,
pub dropped_foreign_tool_state: u32,
pub dropped_foreign_text_state: u32,
pub dropped_foreign_provider_item: u32,
pub dropped_reasoning_from_non_assistant: u32,
pub merged_adjacent: u32,
}Expand description
Context-free aggregate of normalization repairs.
Fields§
§total: u32Total number of repairs recorded.
downgraded_developer: u32Number of Developer roles downgraded.
downgraded_custom_role: u32Number of custom roles downgraded.
assigned_tool_call_id: u32Number of tool call ids that were generated.
filled_tool_result_id: u32Number of tool results that had a missing call id filled in.
reconciled_tool_result_id: u32Number of tool results whose conflicting call id was rewritten to the id of the call they were paired with.
flattened_tool_call: u32Number of tool calls flattened into literal text on a non-tool message.
flattened_tool_result: u32Number of tool results flattened into literal text on a non-tool message.
dropped_orphan_tool_result: u32Number of orphan tool results dropped.
synthesized_missing_tool_result: u32Number of missing tool results that were synthesized.
dropped_unpaired_tool_call: u32Number of unpaired tool calls dropped.
dropped_foreign_reasoning: u32Number of reasoning parts with foreign provider state dropped.
dropped_foreign_tool_state: u32Number of tool calls whose foreign provider state was cleared.
dropped_foreign_text_state: u32Number of text parts whose foreign provider state was cleared.
dropped_foreign_provider_item: u32Number of provider items from a foreign protocol dropped.
dropped_reasoning_from_non_assistant: u32Number of reasoning parts dropped from non-assistant messages.
merged_adjacent: u32Number of adjacent same-role message merges performed.
Implementations§
Trait Implementations§
Source§impl Clone for NormalizeStats
impl Clone for NormalizeStats
impl Copy for NormalizeStats
Source§impl Debug for NormalizeStats
impl Debug for NormalizeStats
Source§impl Default for NormalizeStats
impl Default for NormalizeStats
Source§impl<'de> Deserialize<'de> for NormalizeStats
impl<'de> Deserialize<'de> for NormalizeStats
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>,
impl Eq for NormalizeStats
Source§impl PartialEq for NormalizeStats
impl PartialEq for NormalizeStats
Source§impl Serialize for NormalizeStats
impl Serialize for NormalizeStats
impl StructuralPartialEq for NormalizeStats
Auto Trait Implementations§
impl Freeze for NormalizeStats
impl RefUnwindSafe for NormalizeStats
impl Send for NormalizeStats
impl Sync for NormalizeStats
impl Unpin for NormalizeStats
impl UnsafeUnpin for NormalizeStats
impl UnwindSafe for NormalizeStats
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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.