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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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 !=.

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

Performs the conversion.

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

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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