pub struct State {
pub status: String,
pub running: bool,
pub paused: bool,
pub restarting: bool,
pub oomkilled: bool,
pub dead: bool,
pub pid: isize,
pub exit_code: u16,
pub error: String,
pub started_at: DateTime<Utc>,
pub finished_at: DateTime<Utc>,
}
Expand description
Runtime status of the container.
Fields§
§status: String
§running: bool
§paused: bool
§restarting: bool
§oomkilled: bool
§dead: bool
§pid: isize
§exit_code: u16
§error: String
§started_at: DateTime<Utc>
§finished_at: DateTime<Utc>
Trait Implementations§
source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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