[][src]Struct jsonrpc_types::SuccessResponse

pub struct SuccessResponse {
    pub jsonrpc: Option<Version>,
    pub result: Value,
    pub id: Id,
}

Represents successful JSON-RPC response.

Fields

jsonrpc: Option<Version>

A String specifying the version of the JSON-RPC protocol.

result: Value

Successful execution result.

id: Id

Correlation id.

It MUST be the same as the value of the id member in the Request Object.

Trait Implementations

impl Clone for SuccessResponse[src]

impl Debug for SuccessResponse[src]

impl<'de> Deserialize<'de> for SuccessResponse[src]

impl From<SuccessResponse> for Response[src]

impl PartialEq<SuccessResponse> for SuccessResponse[src]

impl Serialize for SuccessResponse[src]

impl StructuralPartialEq for SuccessResponse[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.