pub struct NodeDiagnosticsResponse {
pub node_info: Option<NodeInfo>,
pub network_info: Option<NetworkInfo>,
pub subscriptions: Vec<SubscriptionInfo>,
pub contract_states: HashMap<ContractKey, ContractState>,
pub system_metrics: Option<SystemMetrics>,
pub connected_peers_detailed: Vec<ConnectedPeerInfo>,
}
Fields§
§node_info: Option<NodeInfo>
Node information
network_info: Option<NetworkInfo>
Network connectivity information
subscriptions: Vec<SubscriptionInfo>
Contract subscription information
contract_states: HashMap<ContractKey, ContractState>
Contract states for specific contracts
system_metrics: Option<SystemMetrics>
System metrics
connected_peers_detailed: Vec<ConnectedPeerInfo>
Information about connected peers with detailed data
Trait Implementations§
Source§impl Clone for NodeDiagnosticsResponse
impl Clone for NodeDiagnosticsResponse
Source§fn clone(&self) -> NodeDiagnosticsResponse
fn clone(&self) -> NodeDiagnosticsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeDiagnosticsResponse
impl Debug for NodeDiagnosticsResponse
Source§impl<'de> Deserialize<'de> for NodeDiagnosticsResponse
impl<'de> Deserialize<'de> for NodeDiagnosticsResponse
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
Auto Trait Implementations§
impl Freeze for NodeDiagnosticsResponse
impl RefUnwindSafe for NodeDiagnosticsResponse
impl Send for NodeDiagnosticsResponse
impl Sync for NodeDiagnosticsResponse
impl Unpin for NodeDiagnosticsResponse
impl UnwindSafe for NodeDiagnosticsResponse
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