Struct bollard::models::ContainerInspectResponse [−][src]
pub struct ContainerInspectResponse {Show 25 fields
pub id: Option<String>,
pub created: Option<String>,
pub path: Option<String>,
pub args: Option<Vec<String, Global>>,
pub state: Option<ContainerState>,
pub image: Option<String>,
pub resolv_conf_path: Option<String>,
pub hostname_path: Option<String>,
pub hosts_path: Option<String>,
pub log_path: Option<String>,
pub name: Option<String>,
pub restart_count: Option<i64>,
pub driver: Option<String>,
pub platform: Option<String>,
pub mount_label: Option<String>,
pub process_label: Option<String>,
pub app_armor_profile: Option<String>,
pub exec_ids: Option<Vec<String, Global>>,
pub host_config: Option<HostConfig>,
pub graph_driver: Option<GraphDriverData>,
pub size_rw: Option<i64>,
pub size_root_fs: Option<i64>,
pub mounts: Option<Vec<MountPoint, Global>>,
pub config: Option<ContainerConfig>,
pub network_settings: Option<NetworkSettings>,
}
Fields
id: Option<String>
The ID of the container
created: Option<String>
The time the container was created
path: Option<String>
The path to the command being run
args: Option<Vec<String, Global>>
The arguments to the command being run
state: Option<ContainerState>
image: Option<String>
The container’s image ID
resolv_conf_path: Option<String>
hostname_path: Option<String>
hosts_path: Option<String>
log_path: Option<String>
name: Option<String>
restart_count: Option<i64>
driver: Option<String>
platform: Option<String>
mount_label: Option<String>
process_label: Option<String>
app_armor_profile: Option<String>
exec_ids: Option<Vec<String, Global>>
IDs of exec instances that are running in the container.
host_config: Option<HostConfig>
graph_driver: Option<GraphDriverData>
size_rw: Option<i64>
The size of files that have been created or changed by this container.
size_root_fs: Option<i64>
The total size of all the files in this container.
mounts: Option<Vec<MountPoint, Global>>
config: Option<ContainerConfig>
network_settings: Option<NetworkSettings>
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContainerInspectResponse
impl Send for ContainerInspectResponse
impl Sync for ContainerInspectResponse
impl Unpin for ContainerInspectResponse
impl UnwindSafe for ContainerInspectResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
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