pub struct InitializedNotification {
pub method: String,
pub params: Option<InitializedNotificationParams>,
}
Expand description
This notification is sent from the client to the server after initialization has finished.
JSON schema
{
"description": "This notification is sent from the client to the server after initialization has finished.",
"type": "object",
"required": [
"method"
],
"properties": {
"method": {
"type": "string",
"const": "notifications/initialized"
},
"params": {
"type": "object",
"properties": {
"_meta": {
"description": "This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.",
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": {}
}
}
}
Fields§
§method: String
§params: Option<InitializedNotificationParams>
Trait Implementations§
Source§impl Clone for InitializedNotification
impl Clone for InitializedNotification
Source§fn clone(&self) -> InitializedNotification
fn clone(&self) -> InitializedNotification
Returns a copy 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 InitializedNotification
impl Debug for InitializedNotification
Source§impl<'de> Deserialize<'de> for InitializedNotification
impl<'de> Deserialize<'de> for InitializedNotification
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
Source§impl From<&InitializedNotification> for ClientNotification
impl From<&InitializedNotification> for ClientNotification
Source§fn from(value: &InitializedNotification) -> Self
fn from(value: &InitializedNotification) -> Self
Converts to this type from the input type.
Source§impl From<&InitializedNotification> for InitializedNotification
impl From<&InitializedNotification> for InitializedNotification
Source§fn from(value: &InitializedNotification) -> Self
fn from(value: &InitializedNotification) -> Self
Converts to this type from the input type.
Source§impl From<InitializedNotification> for ClientNotification
impl From<InitializedNotification> for ClientNotification
Source§fn from(value: InitializedNotification) -> Self
fn from(value: InitializedNotification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InitializedNotification
impl PartialEq for InitializedNotification
Source§impl Serialize for InitializedNotification
impl Serialize for InitializedNotification
impl StructuralPartialEq for InitializedNotification
Auto Trait Implementations§
impl Freeze for InitializedNotification
impl RefUnwindSafe for InitializedNotification
impl Send for InitializedNotification
impl Sync for InitializedNotification
impl Unpin for InitializedNotification
impl UnwindSafe for InitializedNotification
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