pub struct ToolUsageEntry {
pub tool_name: String,
pub count: u32,
}Expand description
A single tool’s usage count.
Fields§
§tool_name: String§count: u32Trait Implementations§
Source§impl Clone for ToolUsageEntry
impl Clone for ToolUsageEntry
Source§fn clone(&self) -> ToolUsageEntry
fn clone(&self) -> ToolUsageEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolUsageEntry
impl Debug for ToolUsageEntry
Source§impl<'de> Deserialize<'de> for ToolUsageEntry
impl<'de> Deserialize<'de> for ToolUsageEntry
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 ToolUsageEntry
impl RefUnwindSafe for ToolUsageEntry
impl Send for ToolUsageEntry
impl Sync for ToolUsageEntry
impl Unpin for ToolUsageEntry
impl UnsafeUnpin for ToolUsageEntry
impl UnwindSafe for ToolUsageEntry
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