pub struct RawNotification {
pub version: Version,
pub method: CowStr,
pub params: Value,
}Fields§
§version: Version§method: CowStr§params: ValueTrait Implementations§
Source§impl Clone for RawNotification
impl Clone for RawNotification
Source§fn clone(&self) -> RawNotification
fn clone(&self) -> RawNotification
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 RawNotification
impl Debug for RawNotification
Source§impl<'de> Deserialize<'de> for RawNotification
impl<'de> Deserialize<'de> for RawNotification
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 RawNotification
impl RefUnwindSafe for RawNotification
impl Send for RawNotification
impl Sync for RawNotification
impl Unpin for RawNotification
impl UnwindSafe for RawNotification
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