pub struct ContainerListItem {Show 27 fields
pub auto_remove: bool,
pub cid_file: String,
pub command: Vec<String>,
pub created: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub exit_code: i32,
pub exited: bool,
pub exited_at: DateTime<Utc>,
pub exposed_ports: HashMap<u16, Vec<String>>,
pub id: String,
pub image: String,
pub image_id: String,
pub is_infra: bool,
pub labels: HashMap<String, String>,
pub mounts: Vec<String>,
pub names: Vec<String>,
pub namespaces: ContainerListItemNamespaces,
pub networks: Vec<String>,
pub pid: i64,
pub pod: String,
pub pod_name: String,
pub ports: Vec<PortMapping>,
pub restarts: u64,
pub size: ContainerListItemSize,
pub started_at: DateTime<Utc>,
pub state: String,
pub status: String,
}
Fields§
§auto_remove: bool
§cid_file: String
§command: Vec<String>
§created: DateTime<Utc>
§created_at: DateTime<Utc>
§exit_code: i32
§exited: bool
§exited_at: DateTime<Utc>
§exposed_ports: HashMap<u16, Vec<String>>
§id: String
§image: String
§image_id: String
§is_infra: bool
§labels: HashMap<String, String>
§mounts: Vec<String>
§names: Vec<String>
§namespaces: ContainerListItemNamespaces
§networks: Vec<String>
§pid: i64
§pod: String
§pod_name: String
§ports: Vec<PortMapping>
§restarts: u64
§size: ContainerListItemSize
§started_at: DateTime<Utc>
§state: String
§status: String
Trait Implementations§
Source§impl Debug for ContainerListItem
impl Debug for ContainerListItem
Source§impl<'de> Deserialize<'de> for ContainerListItem
impl<'de> Deserialize<'de> for ContainerListItem
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 ContainerListItem
impl RefUnwindSafe for ContainerListItem
impl Send for ContainerListItem
impl Sync for ContainerListItem
impl Unpin for ContainerListItem
impl UnwindSafe for ContainerListItem
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