pub struct SubscriptionsAcknowledgedNotification {
pub method: String,
pub params: SubscriptionsAcknowledgedNotificationParams,
}Expand description
Core MCP protocol types and error handling
notifications/subscriptions/acknowledged — sent by the server as the first
message on a subscriptions/listen stream.
Fields§
§method: StringAlways "notifications/subscriptions/acknowledged".
params: SubscriptionsAcknowledgedNotificationParamsImplementations§
Source§impl SubscriptionsAcknowledgedNotification
impl SubscriptionsAcknowledgedNotification
pub fn new( notifications: SubscriptionFilter, ) -> SubscriptionsAcknowledgedNotification
Trait Implementations§
Source§impl Clone for SubscriptionsAcknowledgedNotification
impl Clone for SubscriptionsAcknowledgedNotification
Source§fn clone(&self) -> SubscriptionsAcknowledgedNotification
fn clone(&self) -> SubscriptionsAcknowledgedNotification
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<'de> Deserialize<'de> for SubscriptionsAcknowledgedNotification
impl<'de> Deserialize<'de> for SubscriptionsAcknowledgedNotification
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscriptionsAcknowledgedNotification, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscriptionsAcknowledgedNotification, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubscriptionsAcknowledgedNotification
impl Serialize for SubscriptionsAcknowledgedNotification
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SubscriptionsAcknowledgedNotification
impl RefUnwindSafe for SubscriptionsAcknowledgedNotification
impl Send for SubscriptionsAcknowledgedNotification
impl Sync for SubscriptionsAcknowledgedNotification
impl Unpin for SubscriptionsAcknowledgedNotification
impl UnsafeUnpin for SubscriptionsAcknowledgedNotification
impl UnwindSafe for SubscriptionsAcknowledgedNotification
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