pub struct LoggingMessageNotification {
pub method: MustBeStr<(n, o, t, (i, f, i, c, a, t), (i, o, n, s, char<'/'>, m), (e, s, s, a, g, e))>,
pub params: LoggingMessageNotificationParams,
pub extra: Map<String, Value>,
}
Expand description
Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
Fields§
§method: MustBeStr<(n, o, t, (i, f, i, c, a, t), (i, o, n, s, char<'/'>, m), (e, s, s, a, g, e))>
§params: LoggingMessageNotificationParams
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for LoggingMessageNotification
impl Clone for LoggingMessageNotification
Source§fn clone(&self) -> LoggingMessageNotification
fn clone(&self) -> LoggingMessageNotification
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 LoggingMessageNotification
impl Debug for LoggingMessageNotification
Source§impl<'de> Deserialize<'de> for LoggingMessageNotification
impl<'de> Deserialize<'de> for LoggingMessageNotification
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
impl StructuralPartialEq for LoggingMessageNotification
Auto Trait Implementations§
impl Freeze for LoggingMessageNotification
impl RefUnwindSafe for LoggingMessageNotification
impl Send for LoggingMessageNotification
impl Sync for LoggingMessageNotification
impl Unpin for LoggingMessageNotification
impl UnwindSafe for LoggingMessageNotification
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