pub struct RegistryStats {
pub tool_count: usize,
pub prompt_count: usize,
pub resource_count: usize,
pub sampling_count: usize,
pub logging_count: usize,
pub total_count: usize,
}Expand description
Registry statistics
Fields§
§tool_count: usizeNumber of tool handlers
prompt_count: usizeNumber of prompt handlers
resource_count: usizeNumber of resource handlers
sampling_count: usizeNumber of sampling handlers
logging_count: usizeNumber of logging handlers
total_count: usizeTotal number of handlers
Trait Implementations§
Source§impl Clone for RegistryStats
impl Clone for RegistryStats
Source§fn clone(&self) -> RegistryStats
fn clone(&self) -> RegistryStats
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 moreAuto Trait Implementations§
impl Freeze for RegistryStats
impl RefUnwindSafe for RegistryStats
impl Send for RegistryStats
impl Sync for RegistryStats
impl Unpin for RegistryStats
impl UnwindSafe for RegistryStats
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