Struct docker_api::api::container::models::ContainerState [−][src]
pub struct ContainerState {
pub status: ContainerStatus,
pub running: bool,
pub paused: bool,
pub restarting: bool,
pub oom_killed: bool,
pub dead: bool,
pub pid: u64,
pub exit_code: u64,
pub error: String,
pub started_at: DateTime<Utc>,
pub finished_at: DateTime<Utc>,
pub health: Option<ContainerHealth>,
}Fields
status: ContainerStatusrunning: boolpaused: boolrestarting: booloom_killed: booldead: boolpid: u64exit_code: u64error: Stringstarted_at: DateTime<Utc>finished_at: DateTime<Utc>health: Option<ContainerHealth>Trait Implementations
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 RefUnwindSafe for ContainerState
impl Send for ContainerState
impl Sync for ContainerState
impl Unpin for ContainerState
impl UnwindSafe for ContainerState
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more