pub struct LoggingMessageNotification {
pub jsonrpc: JsonRpcVersion,
pub method: NotificationsMessageMethod,
pub params: LoggingMessageNotificationParams,
}Deprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Expand description
JSONRPCNotification of a log message passed from server to client. The client opts in by setting "io.modelcontextprotocol/logLevel" in a request’s _meta.
Fields§
§jsonrpc: JsonRpcVersionDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
method: NotificationsMessageMethodDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
params: LoggingMessageNotificationParamsDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Implementations§
Source§impl LoggingMessageNotification
impl LoggingMessageNotification
Sourcepub fn new(
params: LoggingMessageNotificationParams,
) -> LoggingMessageNotification
pub fn new( params: LoggingMessageNotificationParams, ) -> LoggingMessageNotification
Creates a value from its required fields; optional fields are None.
Trait Implementations§
Source§impl Clone for LoggingMessageNotification
impl Clone for LoggingMessageNotification
Source§fn clone(&self) -> LoggingMessageNotification
fn clone(&self) -> LoggingMessageNotification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more