pub struct ContainerInstanceView {
pub restart_count: Option<i32>,
pub current_state: Option<Box<ContainerState>>,
pub previous_state: Option<Box<ContainerState>>,
pub events: Option<Vec<ContainerEvent>>,
}Expand description
ContainerInstanceView : Runtime information of a container instance.
Fields§
§restart_count: Option<i32>The number of times the container has been restarted.
current_state: Option<Box<ContainerState>>§previous_state: Option<Box<ContainerState>>§events: Option<Vec<ContainerEvent>>The events of this container instance.
Implementations§
Source§impl ContainerInstanceView
impl ContainerInstanceView
Sourcepub fn new() -> ContainerInstanceView
pub fn new() -> ContainerInstanceView
Runtime information of a container instance.
Trait Implementations§
Source§impl Clone for ContainerInstanceView
impl Clone for ContainerInstanceView
Source§impl Debug for ContainerInstanceView
impl Debug for ContainerInstanceView
Source§impl Default for ContainerInstanceView
impl Default for ContainerInstanceView
Source§impl<'de> Deserialize<'de> for ContainerInstanceView
impl<'de> Deserialize<'de> for ContainerInstanceView
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 for ContainerInstanceView
impl PartialEq for ContainerInstanceView
Source§impl Serialize for ContainerInstanceView
impl Serialize for ContainerInstanceView
impl StructuralPartialEq for ContainerInstanceView
Auto Trait Implementations§
impl Freeze for ContainerInstanceView
impl RefUnwindSafe for ContainerInstanceView
impl Send for ContainerInstanceView
impl Sync for ContainerInstanceView
impl Unpin for ContainerInstanceView
impl UnsafeUnpin for ContainerInstanceView
impl UnwindSafe for ContainerInstanceView
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