Struct jormungandr_lib::interfaces::NodeStatsDto
source · pub struct NodeStatsDto {
pub version: String,
pub state: NodeState,
pub stats: Option<NodeStats>,
}
Fields§
§version: String
§state: NodeState
§stats: Option<NodeStats>
Trait Implementations§
source§impl Clone for NodeStatsDto
impl Clone for NodeStatsDto
source§fn clone(&self) -> NodeStatsDto
fn clone(&self) -> NodeStatsDto
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 NodeStatsDto
impl Debug for NodeStatsDto
source§impl<'de> Deserialize<'de> for NodeStatsDto
impl<'de> Deserialize<'de> for NodeStatsDto
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<NodeStatsDto> for NodeStatsDto
impl PartialEq<NodeStatsDto> for NodeStatsDto
source§fn eq(&self, other: &NodeStatsDto) -> bool
fn eq(&self, other: &NodeStatsDto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NodeStatsDto
impl Serialize for NodeStatsDto
impl StructuralPartialEq for NodeStatsDto
Auto Trait Implementations§
impl RefUnwindSafe for NodeStatsDto
impl Send for NodeStatsDto
impl Sync for NodeStatsDto
impl Unpin for NodeStatsDto
impl UnwindSafe for NodeStatsDto
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