pub struct McpOptions {
pub resource: Option<String>,
pub metadata: McpMetadataOverrides,
}Expand description
MCP profile options. When enabled, the provider exposes MCP resource metadata.
Fields§
§resource: Option<String>Protected resource identifier (RFC 9728). Defaults to the origin of base_url.
metadata: McpMetadataOverridesTrait Implementations§
Source§impl Clone for McpOptions
impl Clone for McpOptions
Source§fn clone(&self) -> McpOptions
fn clone(&self) -> McpOptions
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 McpOptions
impl Debug for McpOptions
Source§impl Default for McpOptions
impl Default for McpOptions
Source§fn default() -> McpOptions
fn default() -> McpOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for McpOptions
impl PartialEq for McpOptions
Source§fn eq(&self, other: &McpOptions) -> bool
fn eq(&self, other: &McpOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpOptions
Auto Trait Implementations§
impl Freeze for McpOptions
impl RefUnwindSafe for McpOptions
impl Send for McpOptions
impl Sync for McpOptions
impl Unpin for McpOptions
impl UnsafeUnpin for McpOptions
impl UnwindSafe for McpOptions
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