pub struct McpServerUsage {
pub server: Option<String>,
pub configured: bool,
pub tools: Vec<McpToolUsage>,
}Expand description
One tool server and the tools of it that were used.
Fields§
§server: Option<String>None gathers the calls no known server name prefixes: a server
removed before the ledger said whose tool it was.
configured: boolWhether some building’s configuration names it now.
tools: Vec<McpToolUsage>The tools of it that were used, in tool order.
Trait Implementations§
Source§impl Clone for McpServerUsage
impl Clone for McpServerUsage
Source§impl Debug for McpServerUsage
impl Debug for McpServerUsage
Source§impl<'de> Deserialize<'de> for McpServerUsage
impl<'de> Deserialize<'de> for McpServerUsage
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
impl Eq for McpServerUsage
Source§impl PartialEq for McpServerUsage
impl PartialEq for McpServerUsage
Source§impl Serialize for McpServerUsage
impl Serialize for McpServerUsage
impl StructuralPartialEq for McpServerUsage
Auto Trait Implementations§
impl Freeze for McpServerUsage
impl RefUnwindSafe for McpServerUsage
impl Send for McpServerUsage
impl Sync for McpServerUsage
impl Unpin for McpServerUsage
impl UnsafeUnpin for McpServerUsage
impl UnwindSafe for McpServerUsage
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