Struct jsonrpc_v2::NotificationBuilder[][src]

pub struct NotificationBuilder<M = ()> { /* fields omitted */ }

Builder struct for a notification request object

Implementations

impl<M> NotificationBuilder<M>[src]

pub fn with_params<I: Into<Value>>(self, params: I) -> Self[src]

impl NotificationBuilder<()>[src]

pub fn with_method<I: Into<String>>(
    self,
    method: I
) -> NotificationBuilder<String>
[src]

impl NotificationBuilder<String>[src]

pub fn finish(self) -> RequestObject[src]

Trait Implementations

impl<M: Default> Default for NotificationBuilder<M>[src]

Auto Trait Implementations

impl<M> RefUnwindSafe for NotificationBuilder<M> where
    M: RefUnwindSafe
[src]

impl<M> Send for NotificationBuilder<M> where
    M: Send
[src]

impl<M> Sync for NotificationBuilder<M> where
    M: Sync
[src]

impl<M> Unpin for NotificationBuilder<M> where
    M: Unpin
[src]

impl<M> UnwindSafe for NotificationBuilder<M> where
    M: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,