pub struct KeyHealthStatus {
pub group_pubkey: [u8; 32],
pub share_index: u16,
pub last_check_timestamp: u64,
pub responsive: bool,
pub created_at: Option<u64>,
}Expand description
Health status of a key share from a liveness check.
Fields§
§group_pubkey: [u8; 32]The FROST group public key.
The share index that was checked.
last_check_timestamp: u64Unix timestamp of the last health check.
responsive: boolWhether the share was responsive.
created_at: Option<u64>Unix timestamp when this record was first created (None for legacy records).
Implementations§
Trait Implementations§
Source§impl Clone for KeyHealthStatus
impl Clone for KeyHealthStatus
Source§impl Debug for KeyHealthStatus
impl Debug for KeyHealthStatus
Source§impl<'de> Deserialize<'de> for KeyHealthStatus
impl<'de> Deserialize<'de> for KeyHealthStatus
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
Auto Trait Implementations§
impl Forget for KeyHealthStatus
impl Freeze for KeyHealthStatus
impl Move for KeyHealthStatus
impl RefUnwindSafe for KeyHealthStatus
impl Send for KeyHealthStatus
impl Sync for KeyHealthStatus
impl Unpin for KeyHealthStatus
impl UnsafeUnpin for KeyHealthStatus
impl UnwindSafe for KeyHealthStatus
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