pub struct SystemHealth {
pub status: HealthStatus,
pub node_id: u64,
pub node_tag: String,
pub node_version: String,
pub node_started_at: DateTime<Utc>,
pub runtime_version: String,
pub actor_response_times: HashMap<ActorPath, Option<Duration>>,
pub current_leader: Option<NodeId>,
pub nodes: Vec<ClusterNode>,
}Fields§
§status: HealthStatus§node_id: u64§node_tag: String§node_version: String§node_started_at: DateTime<Utc>§runtime_version: String§actor_response_times: HashMap<ActorPath, Option<Duration>>§current_leader: Option<NodeId>§nodes: Vec<ClusterNode>Trait Implementations§
Source§impl Debug for SystemHealth
impl Debug for SystemHealth
Source§impl<'de> Deserialize<'de> for SystemHealth
impl<'de> Deserialize<'de> for SystemHealth
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 From<SystemHealth> for SystemHealth
impl From<SystemHealth> for SystemHealth
Source§fn from(value: SystemHealth) -> Self
fn from(value: SystemHealth) -> Self
Converts to this type from the input type.
Source§impl Serialize for SystemHealth
impl Serialize for SystemHealth
Auto Trait Implementations§
impl Freeze for SystemHealth
impl RefUnwindSafe for SystemHealth
impl Send for SystemHealth
impl Sync for SystemHealth
impl Unpin for SystemHealth
impl UnsafeUnpin for SystemHealth
impl UnwindSafe for SystemHealth
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