Struct k8s_openapi_ext::corev1::ContainerStateTerminated
source · [−]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>,
}
Expand description
ContainerStateTerminated is a terminated state of a container.
Fields
container_id: Option<String>
Container’s ID in the format ‘<type>://<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
sourceimpl Clone for ContainerStateTerminated
impl Clone for ContainerStateTerminated
sourcefn clone(&self) -> ContainerStateTerminated
fn clone(&self) -> ContainerStateTerminated
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContainerStateTerminated
impl Debug for ContainerStateTerminated
sourceimpl DeepMerge for ContainerStateTerminated
impl DeepMerge for ContainerStateTerminated
sourcefn merge_from(&mut self, other: ContainerStateTerminated)
fn merge_from(&mut self, other: ContainerStateTerminated)
Merge
other
into self
.sourceimpl Default for ContainerStateTerminated
impl Default for ContainerStateTerminated
sourcefn default() -> ContainerStateTerminated
fn default() -> ContainerStateTerminated
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContainerStateTerminated
impl<'de> Deserialize<'de> for ContainerStateTerminated
sourcefn deserialize<D>(
deserializer: D
) -> Result<ContainerStateTerminated, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ContainerStateTerminated, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ContainerStateTerminated> for ContainerStateTerminated
impl PartialEq<ContainerStateTerminated> for ContainerStateTerminated
sourcefn eq(&self, other: &ContainerStateTerminated) -> bool
fn eq(&self, other: &ContainerStateTerminated) -> bool
sourceimpl Serialize for ContainerStateTerminated
impl Serialize for ContainerStateTerminated
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContainerStateTerminated
Auto Trait Implementations
impl RefUnwindSafe for ContainerStateTerminated
impl Send for ContainerStateTerminated
impl Sync for ContainerStateTerminated
impl Unpin for ContainerStateTerminated
impl UnwindSafe for ContainerStateTerminated
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more