pub struct HealthInfo {
pub state: String,
pub key_expiry: Option<String>,
pub warnings: Vec<String>,
pub healthy: bool,
}Expand description
Health information from the network provider.
Fields§
§state: StringCurrent backend state (e.g., “Running”, “NeedsLogin”).
key_expiry: Option<String>Key expiry timestamp (RFC 3339), if applicable.
warnings: Vec<String>Active health warnings.
healthy: boolWhether the network is fully operational.
Trait Implementations§
Source§impl Clone for HealthInfo
impl Clone for HealthInfo
Source§fn clone(&self) -> HealthInfo
fn clone(&self) -> HealthInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HealthInfo
impl Debug for HealthInfo
Source§impl Default for HealthInfo
impl Default for HealthInfo
Source§fn default() -> HealthInfo
fn default() -> HealthInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HealthInfo
impl RefUnwindSafe for HealthInfo
impl Send for HealthInfo
impl Sync for HealthInfo
impl Unpin for HealthInfo
impl UnsafeUnpin for HealthInfo
impl UnwindSafe for HealthInfo
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