pub struct InspectContainerData {
Show 37 fields pub app_armor_profile: Option<String>, pub args: Option<Vec<String, Global>>, pub bounding_caps: Option<Vec<String, Global>>, pub config: Option<InspectContainerConfig>, pub conmon_pid_file: Option<String>, pub created: Option<DateTime<Utc>>, pub dependencies: Option<Vec<String, Global>>, pub driver: Option<String>, pub effective_caps: Option<Vec<String, Global>>, pub exec_i_ds: Option<Vec<String, Global>>, pub graph_driver: Option<DriverData>, pub host_config: Option<InspectContainerHostConfig>, pub hostname_path: Option<String>, pub hosts_path: Option<String>, pub id: Option<String>, pub image: Option<String>, pub image_name: Option<String>, pub is_infra: Option<bool>, pub is_service: Option<bool>, pub mount_label: Option<String>, pub mounts: Option<Vec<InspectMount, Global>>, pub name: Option<String>, pub namespace: Option<String>, pub network_settings: Option<InspectNetworkSettings>, pub oci_config_path: Option<String>, pub oci_runtime: Option<String>, pub path: Option<String>, pub pid_file: Option<String>, pub pod: Option<String>, pub process_label: Option<String>, pub resolv_conf_path: Option<String>, pub restart_count: Option<i32>, pub rootfs: Option<String>, pub size_root_fs: Option<i64>, pub size_rw: Option<i64>, pub state: Option<InspectContainerState>, pub static_dir: Option<String>,
}
Expand description

InspectContainerData provides a detailed record of a container’s configuration and state as viewed by Libpod. Large portions of this structure are defined such that the output is compatible with docker inspect JSON, but additional fields have been added as required to share information not in the original output.

Fields§

§app_armor_profile: Option<String>§args: Option<Vec<String, Global>>§bounding_caps: Option<Vec<String, Global>>§config: Option<InspectContainerConfig>§conmon_pid_file: Option<String>§created: Option<DateTime<Utc>>§dependencies: Option<Vec<String, Global>>§driver: Option<String>§effective_caps: Option<Vec<String, Global>>§exec_i_ds: Option<Vec<String, Global>>§graph_driver: Option<DriverData>§host_config: Option<InspectContainerHostConfig>§hostname_path: Option<String>§hosts_path: Option<String>§id: Option<String>§image: Option<String>§image_name: Option<String>§is_infra: Option<bool>§is_service: Option<bool>§mount_label: Option<String>§mounts: Option<Vec<InspectMount, Global>>§name: Option<String>§namespace: Option<String>§network_settings: Option<InspectNetworkSettings>§oci_config_path: Option<String>§oci_runtime: Option<String>§path: Option<String>§pid_file: Option<String>§pod: Option<String>§process_label: Option<String>§resolv_conf_path: Option<String>§restart_count: Option<i32>§rootfs: Option<String>§size_root_fs: Option<i64>§size_rw: Option<i64>§state: Option<InspectContainerState>§static_dir: Option<String>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more