Struct k8s_openapi::v1_9::api::core::v1::ContainerStateTerminated [−][src]
pub struct ContainerStateTerminated { pub container_id: Option<String>, pub exit_code: i32, pub finished_at: Option<Time>, pub message: Option<String>, pub reason: Option<String>, pub signal: Option<i32>, pub started_at: Option<Time>, }
ContainerStateTerminated is a terminated state of a container.
Fields
container_id: Option<String>
Container's ID in the format 'docker://<container_id>'
exit_code: i32
Exit status from the last termination of the container
finished_at: Option<Time>
Time at which the container last terminated
message: Option<String>
Message regarding the last termination of the container
reason: Option<String>
(brief) reason from the last termination of the container
signal: Option<i32>
Signal from the last termination of the container
started_at: Option<Time>
Time at which previous execution of the container started
Trait Implementations
impl Clone for ContainerStateTerminated
[src]
impl Clone for ContainerStateTerminated
fn clone(&self) -> ContainerStateTerminated
[src]
fn clone(&self) -> ContainerStateTerminated
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ContainerStateTerminated
[src]
impl Debug for ContainerStateTerminated
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ContainerStateTerminated
[src]
impl Default for ContainerStateTerminated
fn default() -> ContainerStateTerminated
[src]
fn default() -> ContainerStateTerminated
Returns the "default value" for a type. Read more
impl PartialEq for ContainerStateTerminated
[src]
impl PartialEq for ContainerStateTerminated
fn eq(&self, other: &ContainerStateTerminated) -> bool
[src]
fn eq(&self, other: &ContainerStateTerminated) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContainerStateTerminated) -> bool
[src]
fn ne(&self, other: &ContainerStateTerminated) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for ContainerStateTerminated
[src]
impl<'de> Deserialize<'de> for ContainerStateTerminated
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ContainerStateTerminated
[src]
impl Serialize for ContainerStateTerminated
Auto Trait Implementations
impl Send for ContainerStateTerminated
impl Send for ContainerStateTerminated
impl Sync for ContainerStateTerminated
impl Sync for ContainerStateTerminated