Struct bee_rest_api::types::responses::InfoResponse [−][src]
pub struct InfoResponse {Show 14 fields
pub name: String,
pub version: String,
pub is_healthy: bool,
pub network_id: String,
pub bech32_hrp: String,
pub min_pow_score: f64,
pub messages_per_second: f64,
pub referenced_messages_per_second: f64,
pub referenced_rate: f64,
pub latest_milestone_timestamp: u64,
pub latest_milestone_index: u32,
pub confirmed_milestone_index: u32,
pub pruning_index: u32,
pub features: Vec<String>,
}
Expand description
Response of GET /api/v1/info. Returns general information about the node.
Fields
name: String
version: String
is_healthy: bool
network_id: String
bech32_hrp: String
min_pow_score: f64
messages_per_second: f64
referenced_messages_per_second: f64
referenced_rate: f64
latest_milestone_timestamp: u64
latest_milestone_index: u32
confirmed_milestone_index: u32
pruning_index: u32
features: Vec<String>
Trait Implementations
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 RefUnwindSafe for InfoResponse
impl Send for InfoResponse
impl Sync for InfoResponse
impl Unpin for InfoResponse
impl UnwindSafe for InfoResponse
Blanket Implementations
Mutably borrows from an owned value. Read more