Struct avalanche_types::jsonrpc::info::UptimeResponse
source · pub struct UptimeResponse {
pub jsonrpc: String,
pub id: u32,
pub result: Option<UptimeResult>,
}
Expand description
Fields§
§jsonrpc: String
§id: u32
§result: Option<UptimeResult>
Trait Implementations§
source§impl Clone for UptimeResponse
impl Clone for UptimeResponse
source§fn clone(&self) -> UptimeResponse
fn clone(&self) -> UptimeResponse
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 UptimeResponse
impl Debug for UptimeResponse
source§impl<'de> Deserialize<'de> for UptimeResponse
impl<'de> Deserialize<'de> for UptimeResponse
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<UptimeResponse> for UptimeResponse
impl PartialEq<UptimeResponse> for UptimeResponse
source§fn eq(&self, other: &UptimeResponse) -> bool
fn eq(&self, other: &UptimeResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UptimeResponse
impl Serialize for UptimeResponse
impl StructuralPartialEq for UptimeResponse
Auto Trait Implementations§
impl RefUnwindSafe for UptimeResponse
impl Send for UptimeResponse
impl Sync for UptimeResponse
impl Unpin for UptimeResponse
impl UnwindSafe for UptimeResponse
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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