pub struct ContainerStateChange {
pub container_name: Option<String>,
pub exit_code: Option<i64>,
pub image_digest: Option<String>,
pub network_bindings: Option<Vec<NetworkBinding>>,
pub reason: Option<String>,
pub runtime_id: Option<String>,
pub status: Option<String>,
}
Expand description
An object representing a change in state for a container.
Fields§
§container_name: Option<String>
The name of the container.
exit_code: Option<i64>
The exit code for the container, if the state change is a result of the container exiting.
image_digest: Option<String>
The container image SHA 256 digest.
network_bindings: Option<Vec<NetworkBinding>>
Any network bindings associated with the container.
reason: Option<String>
The reason for the state change.
runtime_id: Option<String>
The ID of the Docker container.
status: Option<String>
The status of the container.
Trait Implementations§
Source§impl Clone for ContainerStateChange
impl Clone for ContainerStateChange
Source§fn clone(&self) -> ContainerStateChange
fn clone(&self) -> ContainerStateChange
Returns a duplicate 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 ContainerStateChange
impl Debug for ContainerStateChange
Source§impl Default for ContainerStateChange
impl Default for ContainerStateChange
Source§fn default() -> ContainerStateChange
fn default() -> ContainerStateChange
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContainerStateChange
impl PartialEq for ContainerStateChange
Source§impl Serialize for ContainerStateChange
impl Serialize for ContainerStateChange
impl StructuralPartialEq for ContainerStateChange
Auto Trait Implementations§
impl Freeze for ContainerStateChange
impl RefUnwindSafe for ContainerStateChange
impl Send for ContainerStateChange
impl Sync for ContainerStateChange
impl Unpin for ContainerStateChange
impl UnwindSafe for ContainerStateChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more