Struct ContainerInspect

Source
pub struct ContainerInspect {
Show 42 fields pub app_armor_profile: String, pub args: Vec<String>, pub bounding_caps: Vec<String>, pub config: ContainerInspectConfig, pub conmon_pid_file: String, pub created: DateTime<Utc>, pub dependencies: Vec<String>, pub driver: String, pub effective_caps: Vec<String>, pub exec_ids: Vec<String>, pub graph_driver: ContainerInspectGraphDriver, pub host_config: ContainerInspectHostConfig, pub hostname_path: String, pub hosts_path: String, pub id: String, pub image: String, pub image_digest: String, pub image_name: String, pub is_infra: bool, pub is_service: bool, pub kube_exit_code_propagation: String, pub lock_number: u32, pub mount_label: String, pub mounts: Vec<InspectMount>, pub name: String, pub namespace: String, pub network_settings: ContainerInspectNetworkSettings, pub oci_config_path: String, pub oci_runtime: String, pub path: String, pub pid_file: String, pub pod: String, pub process_label: String, pub resolv_conf_path: String, pub restart_count: i32, pub rootfs: String, pub size_root_fs: i64, pub size_rw: i64, pub state: ContainerInspectState, pub static_dir: String, pub use_image_hostname: bool, pub use_image_hosts: bool,
}

Fields§

§app_armor_profile: String§args: Vec<String>§bounding_caps: Vec<String>§config: ContainerInspectConfig§conmon_pid_file: String§created: DateTime<Utc>§dependencies: Vec<String>§driver: String§effective_caps: Vec<String>§exec_ids: Vec<String>§graph_driver: ContainerInspectGraphDriver§host_config: ContainerInspectHostConfig§hostname_path: String§hosts_path: String§id: String§image: String§image_digest: String§image_name: String§is_infra: bool§is_service: bool§kube_exit_code_propagation: String§lock_number: u32§mount_label: String§mounts: Vec<InspectMount>§name: String§namespace: String§network_settings: ContainerInspectNetworkSettings§oci_config_path: String§oci_runtime: String§path: String§pid_file: String§pod: String§process_label: String§resolv_conf_path: String§restart_count: i32§rootfs: String§size_root_fs: i64§size_rw: i64§state: ContainerInspectState§static_dir: String§use_image_hostname: bool§use_image_hosts: bool

Trait Implementations§

Source§

impl Debug for ContainerInspect

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ContainerInspect

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ContainerInspect

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,