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: Stringversion: Stringis_healthy: boolnetwork_id: Stringbech32_hrp: Stringmin_pow_score: f64messages_per_second: f64referenced_messages_per_second: f64referenced_rate: f64latest_milestone_timestamp: u64latest_milestone_index: u32confirmed_milestone_index: u32pruning_index: u32features: Vec<String>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.