Struct bee_inx::NodeStatus
source · [−]pub struct NodeStatus {
pub is_healthy: bool,
pub is_synced: bool,
pub is_almost_synced: bool,
pub latest_milestone: Milestone,
pub confirmed_milestone: Milestone,
pub current_protocol_parameters: ProtocolParameters,
pub tangle_pruning_index: MilestoneIndex,
pub milestones_pruning_index: MilestoneIndex,
pub ledger_pruning_index: MilestoneIndex,
pub ledger_index: MilestoneIndex,
}
Expand description
The NodeStatus
type.
Fields
is_healthy: bool
Signals if the node is healthy.
is_synced: bool
Signals if the node is synced.
is_almost_synced: bool
Signals if the node is almost synced (within a configured range).
latest_milestone: Milestone
The latest milestone seen by the node.
confirmed_milestone: Milestone
The last confirmed milestone.
current_protocol_parameters: ProtocolParameters
The current protocol parameters.
tangle_pruning_index: MilestoneIndex
The tangle pruning index of the node.
milestones_pruning_index: MilestoneIndex
The milestones pruning index of the node.
ledger_pruning_index: MilestoneIndex
The ledger pruning index of the node.
ledger_index: MilestoneIndex
The ledger index of the node.
Trait Implementations
sourceimpl Clone for NodeStatus
impl Clone for NodeStatus
sourcefn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NodeStatus
impl Debug for NodeStatus
sourceimpl From<NodeStatus> for NodeStatus
impl From<NodeStatus> for NodeStatus
sourcefn from(value: NodeStatus) -> Self
fn from(value: NodeStatus) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<NodeStatus> for NodeStatus
impl PartialEq<NodeStatus> for NodeStatus
sourcefn eq(&self, other: &NodeStatus) -> bool
fn eq(&self, other: &NodeStatus) -> bool
sourceimpl TryFrom<NodeStatus> for NodeStatus
impl TryFrom<NodeStatus> for NodeStatus
impl Eq for NodeStatus
impl StructuralEq for NodeStatus
impl StructuralPartialEq for NodeStatus
Auto Trait Implementations
impl RefUnwindSafe for NodeStatus
impl Send for NodeStatus
impl Sync for NodeStatus
impl Unpin for NodeStatus
impl UnwindSafe for NodeStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request