Skip to main content

ResourceUpdatedNotification

Type Alias ResourceUpdatedNotification 

Source
pub type ResourceUpdatedNotification = Notification<ResourceUpdatedNotificationMethod, ResourceUpdatedNotificationParam>;
Expand description

Notification sent when a subscribed resource is updated

Aliased Type§

pub struct ResourceUpdatedNotification {
    pub method: ResourceUpdatedNotificationMethod,
    pub params: ResourceUpdatedNotificationParam,
    pub extensions: Extensions,
}

Fields§

§method: ResourceUpdatedNotificationMethod§params: ResourceUpdatedNotificationParam§extensions: Extensions

extensions will carry anything possible in the context, including Meta

this is similar with the Extensions in http crate