pub struct McpErrorMetadata {
pub scope: ConfigScope,
pub server_name: Option<String>,
pub severity: Option<McpErrorSeverity>,
}Expand description
MCP-specific metadata attached to validation errors.
Fields§
§scope: ConfigScope§server_name: Option<String>§severity: Option<McpErrorSeverity>Trait Implementations§
Source§impl Clone for McpErrorMetadata
impl Clone for McpErrorMetadata
Source§fn clone(&self) -> McpErrorMetadata
fn clone(&self) -> McpErrorMetadata
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 McpErrorMetadata
impl Debug for McpErrorMetadata
Source§impl<'de> Deserialize<'de> for McpErrorMetadata
impl<'de> Deserialize<'de> for McpErrorMetadata
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 McpErrorMetadata
impl PartialEq for McpErrorMetadata
Source§impl Serialize for McpErrorMetadata
impl Serialize for McpErrorMetadata
impl StructuralPartialEq for McpErrorMetadata
Auto Trait Implementations§
impl Freeze for McpErrorMetadata
impl RefUnwindSafe for McpErrorMetadata
impl Send for McpErrorMetadata
impl Sync for McpErrorMetadata
impl Unpin for McpErrorMetadata
impl UnsafeUnpin for McpErrorMetadata
impl UnwindSafe for McpErrorMetadata
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