pub struct Container {Show 23 fields
pub id: String,
pub created: DateTime<Utc>,
pub path: String,
pub args: Vec<String>,
pub config: Config<String>,
pub state: State,
pub image: String,
pub network_settings: NetworkSettings,
pub resolv_conf_path: String,
pub hostname_path: String,
pub hosts_path: String,
pub log_path: String,
pub name: String,
pub driver: String,
pub mounts: Vec<Mount>,
pub host_config: HostConfig<String>,
pub restart_count: isize,
pub platform: String,
pub mount_label: String,
pub process_label: String,
pub app_armor_profile: String,
pub exec_ids: Option<Vec<String>>,
pub graph_driver: GraphDriver,
}
Expand description
Result type for the Inspect Container API
Fields§
§id: String
§created: DateTime<Utc>
§path: String
§args: Vec<String>
§config: Config<String>
§state: State
§image: String
§network_settings: NetworkSettings
§resolv_conf_path: String
§hostname_path: String
§hosts_path: String
§log_path: String
§name: String
§driver: String
§mounts: Vec<Mount>
§host_config: HostConfig<String>
§restart_count: isize
§platform: String
§mount_label: String
§process_label: String
§app_armor_profile: String
§exec_ids: Option<Vec<String>>
§graph_driver: GraphDriver
Trait Implementations§
source§impl<'de> Deserialize<'de> for Container
impl<'de> Deserialize<'de> for Container
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