pub struct Overview {
pub sys: SysInfo,
pub mining: MiningInfo,
pub pool: TerminalPoolInfo,
pub cells: CellsInfo,
pub network: NetworkInfo,
pub version: String,
}Expand description
Overview data structure aggregating system and mining information for the CKB-TUI Terminal module.
Fields§
§sys: SysInfoSystem information, including hardware and OS metrics.
mining: MiningInfoMining information, covering hash power, difficulty.
pool: TerminalPoolInfoTransaction pool information.
cells: CellsInfoCells information.
network: NetworkInfoNetwork peer latency information.
version: StringCKB node version.
Example: “version”: “0.34.0 (f37f598 2020-07-17)”
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Overview
impl<'de> Deserialize<'de> for Overview
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 JsonSchema for Overview
impl JsonSchema for Overview
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Overview
impl RefUnwindSafe for Overview
impl Send for Overview
impl Sync for Overview
impl Unpin for Overview
impl UnsafeUnpin for Overview
impl UnwindSafe for Overview
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