Struct k8s_openapi::v1_7::kubernetes::pkg::api::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 ContainerStateTerminatedfn clone(&self) -> ContainerStateTerminated[src]
fn clone(&self) -> ContainerStateTerminatedReturns 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 ContainerStateTerminatedfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ContainerStateTerminated[src]
impl Default for ContainerStateTerminatedfn default() -> ContainerStateTerminated[src]
fn default() -> ContainerStateTerminatedReturns the "default value" for a type. Read more
impl PartialEq for ContainerStateTerminated[src]
impl PartialEq for ContainerStateTerminatedfn eq(&self, other: &ContainerStateTerminated) -> bool[src]
fn eq(&self, other: &ContainerStateTerminated) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for ContainerStateTerminated[src]
impl<'de> Deserialize<'de> for ContainerStateTerminatedfn 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 ContainerStateTerminatedAuto Trait Implementations
impl Send for ContainerStateTerminated
impl Send for ContainerStateTerminatedimpl Sync for ContainerStateTerminated
impl Sync for ContainerStateTerminated