pub struct LiveCockpitHeartbeat {
pub configured: bool,
pub expired: bool,
pub last_heartbeat_at: Option<f64>,
pub timeout_s: Option<f64>,
pub extra: BTreeMap<String, Value>,
}Fields§
§configured: bool§expired: bool§last_heartbeat_at: Option<f64>§timeout_s: Option<f64>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for LiveCockpitHeartbeat
impl Clone for LiveCockpitHeartbeat
Source§fn clone(&self) -> LiveCockpitHeartbeat
fn clone(&self) -> LiveCockpitHeartbeat
Returns a duplicate of the value. Read more
1.0.0 · 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 LiveCockpitHeartbeat
impl Debug for LiveCockpitHeartbeat
Source§impl Default for LiveCockpitHeartbeat
impl Default for LiveCockpitHeartbeat
Source§fn default() -> LiveCockpitHeartbeat
fn default() -> LiveCockpitHeartbeat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LiveCockpitHeartbeatwhere
LiveCockpitHeartbeat: Default,
impl<'de> Deserialize<'de> for LiveCockpitHeartbeatwhere
LiveCockpitHeartbeat: Default,
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 Freeze for LiveCockpitHeartbeat
impl RefUnwindSafe for LiveCockpitHeartbeat
impl Send for LiveCockpitHeartbeat
impl Sync for LiveCockpitHeartbeat
impl Unpin for LiveCockpitHeartbeat
impl UnsafeUnpin for LiveCockpitHeartbeat
impl UnwindSafe for LiveCockpitHeartbeat
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