pub struct FinalLogMessageParams {
pub level: LoggingLevel,
pub logger: Option<String>,
pub data: Value,
pub meta: Option<OpenMetadata>,
pub additional: BTreeMap<String, Value>,
}Expand description
Exact final notifications/message parameters.
Final clients opt into these notifications through
io.modelcontextprotocol/logLevel in request metadata; this notification
itself remains independent of the removed final logging/setLevel RPC.
Fields§
§level: LoggingLevelFinal RFC 5424 severity.
logger: Option<String>Optional non-null logger name.
data: ValueArbitrary log data.
meta: Option<OpenMetadata>Optional final notification metadata.
additional: BTreeMap<String, Value>Schema-open extension members retained without activating behavior.
Trait Implementations§
Source§impl Clone for FinalLogMessageParams
impl Clone for FinalLogMessageParams
Source§fn clone(&self) -> FinalLogMessageParams
fn clone(&self) -> FinalLogMessageParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FinalLogMessageParams
impl Debug for FinalLogMessageParams
Source§impl<'de> Deserialize<'de> for FinalLogMessageParams
impl<'de> Deserialize<'de> for FinalLogMessageParams
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 FinalLogMessageParams
impl RefUnwindSafe for FinalLogMessageParams
impl Send for FinalLogMessageParams
impl Sync for FinalLogMessageParams
impl Unpin for FinalLogMessageParams
impl UnsafeUnpin for FinalLogMessageParams
impl UnwindSafe for FinalLogMessageParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).