pub struct CustomHeartbeatStatus {
pub health: ObservedHealth,
pub lifecycle: ProviderLifecycleState,
pub message: Option<String>,
pub stale: bool,
pub partial: bool,
pub collection_issues: Vec<HeartbeatCollectionIssue>,
}Expand description
The status fields every heartbeat carries, so a custom heartbeat’s health reads like a built-in one’s.
Fields§
§health: ObservedHealth§lifecycle: ProviderLifecycleState§message: Option<String>§stale: bool§partial: bool§collection_issues: Vec<HeartbeatCollectionIssue>Trait Implementations§
Source§impl Clone for CustomHeartbeatStatus
impl Clone for CustomHeartbeatStatus
Source§impl Debug for CustomHeartbeatStatus
impl Debug for CustomHeartbeatStatus
Source§impl<'de> Deserialize<'de> for CustomHeartbeatStatus
impl<'de> Deserialize<'de> for CustomHeartbeatStatus
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 PartialEq for CustomHeartbeatStatus
impl PartialEq for CustomHeartbeatStatus
Source§impl Serialize for CustomHeartbeatStatus
impl Serialize for CustomHeartbeatStatus
impl StructuralPartialEq for CustomHeartbeatStatus
Auto Trait Implementations§
impl Forget for CustomHeartbeatStatus
impl Freeze for CustomHeartbeatStatus
impl Move for CustomHeartbeatStatus
impl RefUnwindSafe for CustomHeartbeatStatus
impl Send for CustomHeartbeatStatus
impl Sync for CustomHeartbeatStatus
impl Unpin for CustomHeartbeatStatus
impl UnsafeUnpin for CustomHeartbeatStatus
impl UnwindSafe for CustomHeartbeatStatus
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