pub struct McpLoggingMessage {
pub level: McpLogLevel,
pub logger: Option<String>,
pub data: Value,
}Expand description
A logging message emitted by an MCP server.
Fields§
§level: McpLogLevelSeverity level of the message.
logger: Option<String>The logger name or server component that produced the message.
data: ValueMessage data (may be a string or structured JSON).
Trait Implementations§
Source§impl Clone for McpLoggingMessage
impl Clone for McpLoggingMessage
Source§fn clone(&self) -> McpLoggingMessage
fn clone(&self) -> McpLoggingMessage
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 McpLoggingMessage
impl Debug for McpLoggingMessage
Source§impl<'de> Deserialize<'de> for McpLoggingMessage
impl<'de> Deserialize<'de> for McpLoggingMessage
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
Auto Trait Implementations§
impl Freeze for McpLoggingMessage
impl RefUnwindSafe for McpLoggingMessage
impl Send for McpLoggingMessage
impl Sync for McpLoggingMessage
impl Unpin for McpLoggingMessage
impl UnsafeUnpin for McpLoggingMessage
impl UnwindSafe for McpLoggingMessage
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