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: usize
Number of tool handlers
prompt_count: usize
Number of prompt handlers
resource_count: usize
Number of resource handlers
sampling_count: usize
Number of sampling handlers
logging_count: usize
Number of logging handlers
total_count: usize
Total 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