Struct avalanche_types::jsonrpc::info::UptimeResponse
source · pub struct UptimeResponse {
pub jsonrpc: String,
pub id: u32,
pub result: Option<UptimeResult>,
}
Expand description
ref. https://docs.avax.network/apis/avalanchego/apis/info#infouptime
Fields
jsonrpc: String
id: u32
result: Option<UptimeResult>
Trait Implementations
sourceimpl Clone for UptimeResponse
impl Clone for UptimeResponse
sourcefn clone(&self) -> UptimeResponse
fn clone(&self) -> UptimeResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UptimeResponse
impl Debug for UptimeResponse
sourceimpl<'de> Deserialize<'de> for UptimeResponse
impl<'de> Deserialize<'de> for UptimeResponse
sourcefn 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
sourceimpl PartialEq<UptimeResponse> for UptimeResponse
impl PartialEq<UptimeResponse> for UptimeResponse
sourcefn eq(&self, other: &UptimeResponse) -> bool
fn eq(&self, other: &UptimeResponse) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more