pub type LoggingMessageNotification = Notification<LoggingMessageNotificationMethod, LoggingMessageNotificationParam>;👎Deprecated since 2.0.0:
Logging is deprecated by SEP-2577 and will be removed in a future release. See https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577
Expand description
Notification containing a log message
Aliased Type§
pub struct LoggingMessageNotification {
pub method: LoggingMessageNotificationMethod,
pub params: LoggingMessageNotificationParam,
pub extensions: Extensions,
}Fields§
§method: LoggingMessageNotificationMethod§params: LoggingMessageNotificationParam§extensions: Extensionsextensions will carry anything possible in the context, including the metadata
(RequestMetaObject for requests, NotificationMetaObject for notifications)
this is similar with the Extensions in http crate