pub enum McpSourceSpec {
File {
path: String,
proxy: bool,
},
Inline {
servers: BTreeMap<String, RawMcpServerConfig>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for McpSourceSpec
impl Clone for McpSourceSpec
Source§fn clone(&self) -> McpSourceSpec
fn clone(&self) -> McpSourceSpec
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 moreSource§impl Debug for McpSourceSpec
impl Debug for McpSourceSpec
Source§impl<'de> Deserialize<'de> for McpSourceSpec
impl<'de> Deserialize<'de> for McpSourceSpec
Source§fn deserialize<T: Deserializer<'de>>(deserializer: T) -> Result<Self, T::Error>
fn deserialize<T: Deserializer<'de>>(deserializer: T) -> Result<Self, T::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for McpSourceSpec
impl JsonSchema for McpSourceSpec
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for McpSourceSpec
impl RefUnwindSafe for McpSourceSpec
impl Send for McpSourceSpec
impl Sync for McpSourceSpec
impl Unpin for McpSourceSpec
impl UnsafeUnpin for McpSourceSpec
impl UnwindSafe for McpSourceSpec
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