pub struct DiscoverySnapshot {
pub server_info: ServerConfig,
pub tools: ListToolsResult,
}Fields§
§server_info: ServerConfig§tools: ListToolsResultImplementations§
Source§impl DiscoverySnapshot
impl DiscoverySnapshot
pub fn initialize_json(&self) -> Result<String>
pub fn tools_json(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for DiscoverySnapshot
impl Clone for DiscoverySnapshot
Auto Trait Implementations§
impl Freeze for DiscoverySnapshot
impl RefUnwindSafe for DiscoverySnapshot
impl Send for DiscoverySnapshot
impl Sync for DiscoverySnapshot
impl Unpin for DiscoverySnapshot
impl UnsafeUnpin for DiscoverySnapshot
impl UnwindSafe for DiscoverySnapshot
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