Struct jsonrpsee_types::request::NotificationSer
source · pub struct NotificationSer<'a> {
pub jsonrpc: TwoPointZero,
pub method: Cow<'a, str>,
pub params: Option<Cow<'a, RawValue>>,
}
Expand description
Serializable JSON-RPC notification object.
Fields§
§jsonrpc: TwoPointZero
JSON-RPC version.
method: Cow<'a, str>
Name of the method to be invoked.
params: Option<Cow<'a, RawValue>>
Parameter values of the request.
Implementations§
source§impl<'a> NotificationSer<'a>
impl<'a> NotificationSer<'a>
Trait Implementations§
source§impl<'a> Debug for NotificationSer<'a>
impl<'a> Debug for NotificationSer<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for NotificationSer<'a>
impl<'a> Send for NotificationSer<'a>
impl<'a> Sync for NotificationSer<'a>
impl<'a> Unpin for NotificationSer<'a>
impl<'a> UnwindSafe for NotificationSer<'a>
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