pub struct IpcNotification {
pub jsonrpc: String,
pub method: String,
pub params: Option<Value>,
}Expand description
Notification message sent from Rust to UI (no response expected)
Fields§
§jsonrpc: StringJSON-RPC version (always “2.0”)
method: StringEvent type
params: Option<Value>Event data
Implementations§
Trait Implementations§
Source§impl Clone for IpcNotification
impl Clone for IpcNotification
Source§fn clone(&self) -> IpcNotification
fn clone(&self) -> IpcNotification
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 IpcNotification
impl Debug for IpcNotification
Source§impl<'de> Deserialize<'de> for IpcNotification
impl<'de> Deserialize<'de> for IpcNotification
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 IpcNotification
impl RefUnwindSafe for IpcNotification
impl Send for IpcNotification
impl Sync for IpcNotification
impl Unpin for IpcNotification
impl UnwindSafe for IpcNotification
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