enum NewMsg {
Notification(Notification),
Response(Response),
}
Variants§
Notification(Notification)
Response(Response)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewMsg
impl<'de> Deserialize<'de> for NewMsg
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 NewMsg
impl RefUnwindSafe for NewMsg
impl Send for NewMsg
impl Sync for NewMsg
impl Unpin for NewMsg
impl UnwindSafe for NewMsg
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