pub struct ContainerStatus {
pub name: String,
pub state: ContainerState,
pub ready: bool,
pub restart_count: u8,
pub image: String,
pub image_id: String,
pub container_id: Option<String>,
}
Fields§
§name: String
§state: ContainerState
§ready: bool
§restart_count: u8
§image: String
§image_id: String
§container_id: Option<String>
Trait Implementations§
Source§impl Clone for ContainerStatus
impl Clone for ContainerStatus
Source§fn clone(&self) -> ContainerStatus
fn clone(&self) -> ContainerStatus
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 ContainerStatus
impl Debug for ContainerStatus
Source§impl<'de> Deserialize<'de> for ContainerStatus
impl<'de> Deserialize<'de> for ContainerStatus
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
Auto Trait Implementations§
impl Freeze for ContainerStatus
impl RefUnwindSafe for ContainerStatus
impl Send for ContainerStatus
impl Sync for ContainerStatus
impl Unpin for ContainerStatus
impl UnwindSafe for ContainerStatus
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