pub struct NotificationParams {
pub meta: Option<HashMap<String, Value>>,
pub params: HashMap<String, Value>,
}
Expand description
Notification parameters with metadata
Fieldsยง
ยงmeta: Option<HashMap<String, Value>>
Notification metadata (2025-03-26 NEW)
params: HashMap<String, Value>
Additional parameters
Trait Implementationsยง
Sourceยงimpl Clone for NotificationParams
impl Clone for NotificationParams
Sourceยงfn clone(&self) -> NotificationParams
fn clone(&self) -> NotificationParams
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 NotificationParams
impl Debug for NotificationParams
Sourceยงimpl<'de> Deserialize<'de> for NotificationParams
impl<'de> Deserialize<'de> for NotificationParams
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 PartialEq for NotificationParams
impl PartialEq for NotificationParams
Sourceยงimpl Serialize for NotificationParams
impl Serialize for NotificationParams
impl StructuralPartialEq for NotificationParams
Auto Trait Implementationsยง
impl Freeze for NotificationParams
impl RefUnwindSafe for NotificationParams
impl Send for NotificationParams
impl Sync for NotificationParams
impl Unpin for NotificationParams
impl UnwindSafe for NotificationParams
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