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§
Source§impl Clone for InfoResponse
impl Clone for InfoResponse
Source§fn clone(&self) -> InfoResponse
fn clone(&self) -> InfoResponse
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 InfoResponse
impl Debug for InfoResponse
Source§impl<'de> Deserialize<'de> for InfoResponse
impl<'de> Deserialize<'de> for InfoResponse
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 Serialize for InfoResponse
impl Serialize for InfoResponse
impl BodyInner for InfoResponse
Auto Trait Implementations§
impl Freeze for InfoResponse
impl RefUnwindSafe for InfoResponse
impl Send for InfoResponse
impl Sync for InfoResponse
impl Unpin for InfoResponse
impl UnwindSafe for InfoResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more