pub struct MessageLookups {
pub sibling_tool_use_ids: HashMap<String, HashSet<String>>,
pub progress_messages_by_tool_use_id: HashMap<String, Vec<ProgressMessage>>,
pub in_progress_hook_counts: HashMap<String, HashMap<String, u32>>,
pub resolved_hook_counts: HashMap<String, HashMap<String, u32>>,
pub tool_result_by_tool_use_id: HashMap<String, NormalizedMessage>,
pub tool_use_by_tool_use_id: HashMap<String, Value>,
pub normalized_message_count: usize,
pub resolved_tool_use_ids: HashSet<String>,
pub errored_tool_use_ids: HashSet<String>,
}Expand description
Message lookups for efficient O(1) access
Fields§
§sibling_tool_use_ids: HashMap<String, HashSet<String>>§progress_messages_by_tool_use_id: HashMap<String, Vec<ProgressMessage>>§in_progress_hook_counts: HashMap<String, HashMap<String, u32>>§resolved_hook_counts: HashMap<String, HashMap<String, u32>>§tool_result_by_tool_use_id: HashMap<String, NormalizedMessage>§tool_use_by_tool_use_id: HashMap<String, Value>§normalized_message_count: usize§resolved_tool_use_ids: HashSet<String>§errored_tool_use_ids: HashSet<String>Trait Implementations§
Source§impl Debug for MessageLookups
impl Debug for MessageLookups
Source§impl Default for MessageLookups
impl Default for MessageLookups
Source§fn default() -> MessageLookups
fn default() -> MessageLookups
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageLookups
impl RefUnwindSafe for MessageLookups
impl Send for MessageLookups
impl Sync for MessageLookups
impl Unpin for MessageLookups
impl UnsafeUnpin for MessageLookups
impl UnwindSafe for MessageLookups
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