pub struct DetailedDebugStatus {
pub block_production_delay_millis: u64,
pub catchup_status: Vec<CatchupStatusView>,
pub current_head_status: BlockStatusView,
pub current_header_head_status: BlockStatusView,
pub network_info: NetworkInfoView,
pub sync_status: String,
}
Expand description
DetailedDebugStatus
JSON schema
{
"type": "object",
"required": [
"block_production_delay_millis",
"catchup_status",
"current_head_status",
"current_header_head_status",
"network_info",
"sync_status"
],
"properties": {
"block_production_delay_millis": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"catchup_status": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CatchupStatusView"
}
},
"current_head_status": {
"$ref": "#/components/schemas/BlockStatusView"
},
"current_header_head_status": {
"$ref": "#/components/schemas/BlockStatusView"
},
"network_info": {
"$ref": "#/components/schemas/NetworkInfoView"
},
"sync_status": {
"type": "string"
}
}
}
Fields§
§block_production_delay_millis: u64
§catchup_status: Vec<CatchupStatusView>
§current_head_status: BlockStatusView
§current_header_head_status: BlockStatusView
§network_info: NetworkInfoView
§sync_status: String
Trait Implementations§
Source§impl Clone for DetailedDebugStatus
impl Clone for DetailedDebugStatus
Source§fn clone(&self) -> DetailedDebugStatus
fn clone(&self) -> DetailedDebugStatus
Returns a duplicate 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 DetailedDebugStatus
impl Debug for DetailedDebugStatus
Source§impl<'de> Deserialize<'de> for DetailedDebugStatus
impl<'de> Deserialize<'de> for DetailedDebugStatus
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 From<&DetailedDebugStatus> for DetailedDebugStatus
impl From<&DetailedDebugStatus> for DetailedDebugStatus
Source§fn from(value: &DetailedDebugStatus) -> Self
fn from(value: &DetailedDebugStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DetailedDebugStatus
impl RefUnwindSafe for DetailedDebugStatus
impl Send for DetailedDebugStatus
impl Sync for DetailedDebugStatus
impl Unpin for DetailedDebugStatus
impl UnwindSafe for DetailedDebugStatus
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