[][src]Struct bollard_stubs::models::HealthcheckResult

pub struct HealthcheckResult {
    pub start: Option<DateTime<Utc>>,
    pub end: Option<DateTime<Utc>>,
    pub exit_code: Option<i64>,
    pub output: Option<String>,
}

HealthcheckResult stores information about a single run of a healthcheck probe

Fields

start: Option<DateTime<Utc>>

Date and time at which this check started in RFC 3339 format with nano-seconds.

end: Option<DateTime<Utc>>

Date and time at which this check ended in RFC 3339 format with nano-seconds.

exit_code: Option<i64>

ExitCode meanings: - 0 healthy - 1 unhealthy - 2 reserved (considered unhealthy) - other values: error running probe

output: Option<String>

Output from last check

Trait Implementations

impl Clone for HealthcheckResult[src]

impl Debug for HealthcheckResult[src]

impl Default for HealthcheckResult[src]

impl<'de> Deserialize<'de> for HealthcheckResult[src]

impl PartialEq<HealthcheckResult> for HealthcheckResult[src]

impl Serialize for HealthcheckResult[src]

impl StructuralPartialEq for HealthcheckResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.