pub struct ToolSummary {
pub name: String,
pub sessions_7d: u64,
pub sessions_today: u64,
pub tokens_7d: u64,
pub tokens_today: u64,
pub last_used: Option<String>,
pub last_model: Option<String>,
}Fields§
§name: String§sessions_7d: u64§sessions_today: u64§tokens_7d: u64§tokens_today: u64§last_used: Option<String>§last_model: Option<String>Trait Implementations§
Source§impl Clone for ToolSummary
impl Clone for ToolSummary
Source§fn clone(&self) -> ToolSummary
fn clone(&self) -> ToolSummary
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 ToolSummary
impl Debug for ToolSummary
Source§impl Default for ToolSummary
impl Default for ToolSummary
Source§fn default() -> ToolSummary
fn default() -> ToolSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolSummary
impl<'de> Deserialize<'de> for ToolSummary
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 ToolSummary
impl RefUnwindSafe for ToolSummary
impl Send for ToolSummary
impl Sync for ToolSummary
impl Unpin for ToolSummary
impl UnsafeUnpin for ToolSummary
impl UnwindSafe for ToolSummary
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