Struct k8s_openapi::v1_10::api::core::v1::ContainerState[][src]

pub struct ContainerState {
    pub running: Option<ContainerStateRunning>,
    pub terminated: Option<ContainerStateTerminated>,
    pub waiting: Option<ContainerStateWaiting>,
}

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

Fields

Details about a running container

Details about a terminated container

Details about a waiting container

Trait Implementations

impl Clone for ContainerState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ContainerState
[src]

Formats the value using the given formatter. Read more

impl Default for ContainerState
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ContainerState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ContainerState
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations