Struct k8s_openapi::api::core::v1::ContainerState [−][src]
pub struct ContainerState {
pub running: Option<ContainerStateRunning>,
pub terminated: Option<ContainerStateTerminated>,
pub waiting: Option<ContainerStateWaiting>,
}Expand description
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
running: Option<ContainerStateRunning>Details about a running container
terminated: Option<ContainerStateTerminated>Details about a terminated container
waiting: Option<ContainerStateWaiting>Details about a waiting container
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ContainerStateimpl Send for ContainerStateimpl Sync for ContainerStateimpl Unpin for ContainerStateimpl UnwindSafe for ContainerStateBlanket Implementations
Mutably borrows from an owned value. Read more