pub struct DoctorResponse {
pub version: VersionInfo,
pub socket_path: String,
pub uptime_secs: u64,
pub sqlite: MigrationState,
pub lifecycles: LifecycleCounts,
pub watchers: WatcherCounts,
pub launchers: Vec<LauncherStatus>,
pub tmux: TmuxStatus,
pub docker: Box<DockerStatus>,
pub log_availability: Vec<LifecycleLogAvailability>,
pub last_probe_sweep: Option<DateTime<Utc>>,
pub recent_lost: Vec<RecentLostEvent>,
}Expand description
Stable v0.4 daemon diagnostics JSON.
Clients may rely on the field names and JSON value kinds in this response. The concrete diagnostic values are host and process specific.
Fields§
§version: VersionInfo§socket_path: String§uptime_secs: u64§sqlite: MigrationState§lifecycles: LifecycleCounts§watchers: WatcherCounts§launchers: Vec<LauncherStatus>§tmux: TmuxStatus§docker: Box<DockerStatus>§log_availability: Vec<LifecycleLogAvailability>§last_probe_sweep: Option<DateTime<Utc>>§recent_lost: Vec<RecentLostEvent>Trait Implementations§
Source§impl CliOutput for DoctorResponse
impl CliOutput for DoctorResponse
fn render_human(&self, f: &mut impl Write) -> Result
Source§impl Clone for DoctorResponse
impl Clone for DoctorResponse
Source§fn clone(&self) -> DoctorResponse
fn clone(&self) -> DoctorResponse
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 DoctorResponse
impl Debug for DoctorResponse
Source§impl<'de> Deserialize<'de> for DoctorResponse
impl<'de> Deserialize<'de> for DoctorResponse
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 DoctorResponse
impl PartialEq for DoctorResponse
Source§fn eq(&self, other: &DoctorResponse) -> bool
fn eq(&self, other: &DoctorResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DoctorResponse
impl Serialize for DoctorResponse
impl Eq for DoctorResponse
impl StructuralPartialEq for DoctorResponse
Auto Trait Implementations§
impl Freeze for DoctorResponse
impl RefUnwindSafe for DoctorResponse
impl Send for DoctorResponse
impl Sync for DoctorResponse
impl Unpin for DoctorResponse
impl UnsafeUnpin for DoctorResponse
impl UnwindSafe for DoctorResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.