pub struct McpScanRequest {
pub server_id: String,
pub name: Option<String>,
pub transport: Option<String>,
pub endpoint: Option<String>,
pub tool_names: Option<Vec<String>>,
pub manifest: Option<HashMap<String, Value>>,
}Fields§
§server_id: String§name: Option<String>§transport: Option<String>§endpoint: Option<String>§tool_names: Option<Vec<String>>§manifest: Option<HashMap<String, Value>>Implementations§
Source§impl McpScanRequest
impl McpScanRequest
pub fn new(server_id: String) -> McpScanRequest
Trait Implementations§
Source§impl Clone for McpScanRequest
impl Clone for McpScanRequest
Source§fn clone(&self) -> McpScanRequest
fn clone(&self) -> McpScanRequest
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 McpScanRequest
impl Debug for McpScanRequest
Source§impl Default for McpScanRequest
impl Default for McpScanRequest
Source§fn default() -> McpScanRequest
fn default() -> McpScanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpScanRequest
impl<'de> Deserialize<'de> for McpScanRequest
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
Source§impl PartialEq for McpScanRequest
impl PartialEq for McpScanRequest
Source§fn eq(&self, other: &McpScanRequest) -> bool
fn eq(&self, other: &McpScanRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpScanRequest
impl Serialize for McpScanRequest
impl StructuralPartialEq for McpScanRequest
Auto Trait Implementations§
impl Freeze for McpScanRequest
impl RefUnwindSafe for McpScanRequest
impl Send for McpScanRequest
impl Sync for McpScanRequest
impl Unpin for McpScanRequest
impl UnsafeUnpin for McpScanRequest
impl UnwindSafe for McpScanRequest
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