Struct k8s_openapi::api::core::v1::ContainerState
source · 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§
source§impl Clone for ContainerState
impl Clone for ContainerState
source§fn clone(&self) -> ContainerState
fn clone(&self) -> ContainerState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContainerState
impl Debug for ContainerState
source§impl DeepMerge for ContainerState
impl DeepMerge for ContainerState
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ContainerState
impl Default for ContainerState
source§fn default() -> ContainerState
fn default() -> ContainerState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContainerState
impl<'de> Deserialize<'de> for ContainerState
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
source§impl PartialEq<ContainerState> for ContainerState
impl PartialEq<ContainerState> for ContainerState
source§fn eq(&self, other: &ContainerState) -> bool
fn eq(&self, other: &ContainerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.