[−][src]Struct async_json_rpc::objects::Request
Represents the JSONRPC request object.
Fields
method: String
params: Value
id: Value
jsonrpc: String
Implementations
impl Request
[src]
pub fn build() -> RequestBuilder
[src]
Trait Implementations
impl Clone for Request
[src]
impl Debug for Request
[src]
impl PartialEq<Request> for Request
[src]
impl Serialize for Request
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<C> Service<Request> for Client<C> where
C: Connect + Clone + Send + Sync + 'static,
[src]
C: Connect + Clone + Send + Sync + 'static,
type Response = Response
Responses given by the service.
type Error = Error<HyperError>
Errors produced by the service.
type Future = Pin<Box<dyn Future<Output = Result<Response, Self::Error>> + Send + 'static>>
The future response value.
fn poll_ready(&mut self, _: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, request: Request) -> Self::Future
[src]
impl StructuralPartialEq for Request
[src]
Auto Trait Implementations
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,