pub struct ClientJsonrpcResponse {
pub id: RequestId,
pub result: ResultFromClient,
/* private fields */
}
Expand description
“Similar to JsonrpcResponse , but with the variants restricted to client-side responses.”
Fields§
§id: RequestId
§result: ResultFromClient
Implementations§
Trait Implementations§
Source§impl Clone for ClientJsonrpcResponse
impl Clone for ClientJsonrpcResponse
Source§fn clone(&self) -> ClientJsonrpcResponse
fn clone(&self) -> ClientJsonrpcResponse
Returns a copy 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 ClientJsonrpcResponse
impl Debug for ClientJsonrpcResponse
Source§impl<'de> Deserialize<'de> for ClientJsonrpcResponse
impl<'de> Deserialize<'de> for ClientJsonrpcResponse
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
Source§impl Display for ClientJsonrpcResponse
Formats the ClientJsonrpcResponse as a JSON string.
impl Display for ClientJsonrpcResponse
Formats the ClientJsonrpcResponse as a JSON string.
Source§impl FromStr for ClientJsonrpcResponse
impl FromStr for ClientJsonrpcResponse
Auto Trait Implementations§
impl Freeze for ClientJsonrpcResponse
impl RefUnwindSafe for ClientJsonrpcResponse
impl Send for ClientJsonrpcResponse
impl Sync for ClientJsonrpcResponse
impl Unpin for ClientJsonrpcResponse
impl UnwindSafe for ClientJsonrpcResponse
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