Struct eth_jsonrpc_lib::rpc_request::PartialRequest
source · pub struct PartialRequest {
pub jsonrpc: Option<Version>,
pub id: Id,
pub call: Option<PartialCall>,
}Fields§
§jsonrpc: Option<Version>§id: Id§call: Option<PartialCall>Contain method and params.
Implementations§
source§impl PartialRequest
impl PartialRequest
pub fn get_info(&self) -> RequestInfo
Trait Implementations§
source§impl Clone for PartialRequest
impl Clone for PartialRequest
source§fn clone(&self) -> PartialRequest
fn clone(&self) -> PartialRequest
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 Complete for PartialRequest
impl Complete for PartialRequest
source§impl Debug for PartialRequest
impl Debug for PartialRequest
source§impl<'de> Deserialize<'de> for PartialRequest
impl<'de> Deserialize<'de> for PartialRequest
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 PartialEq for PartialRequest
impl PartialEq for PartialRequest
source§fn eq(&self, other: &PartialRequest) -> bool
fn eq(&self, other: &PartialRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PartialRequest
impl Serialize for PartialRequest
impl StructuralPartialEq for PartialRequest
Auto Trait Implementations§
impl RefUnwindSafe for PartialRequest
impl Send for PartialRequest
impl Sync for PartialRequest
impl Unpin for PartialRequest
impl UnwindSafe for PartialRequest
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request