Struct podman_api::models::ContainerJson
source · pub struct ContainerJson {Show 26 fields
pub app_armor_profile: Option<String>,
pub args: Option<Vec<String, Global>>,
pub config: Option<Config>,
pub created: Option<String>,
pub driver: Option<String>,
pub exec_i_ds: Option<Vec<String, Global>>,
pub graph_driver: Option<GraphDriverData>,
pub host_config: Option<HostConfig>,
pub hostname_path: Option<String>,
pub hosts_path: Option<String>,
pub id: Option<String>,
pub image: Option<String>,
pub log_path: Option<String>,
pub mount_label: Option<String>,
pub mounts: Option<Vec<MountPoint, Global>>,
pub name: Option<String>,
pub network_settings: Option<NetworkSettings>,
pub node: Option<ContainerNode>,
pub path: Option<String>,
pub platform: Option<String>,
pub process_label: Option<String>,
pub resolv_conf_path: Option<String>,
pub restart_count: Option<i64>,
pub size_root_fs: Option<i64>,
pub size_rw: Option<i64>,
pub state: Option<ContainerState>,
}
Expand description
ContainerJSON is newly used struct along with MountPoint
Fields§
§app_armor_profile: Option<String>
§args: Option<Vec<String, Global>>
§config: Option<Config>
§created: Option<String>
§driver: Option<String>
§exec_i_ds: Option<Vec<String, Global>>
§graph_driver: Option<GraphDriverData>
§host_config: Option<HostConfig>
§hostname_path: Option<String>
§hosts_path: Option<String>
§id: Option<String>
§image: Option<String>
§log_path: Option<String>
§mount_label: Option<String>
§mounts: Option<Vec<MountPoint, Global>>
§name: Option<String>
§network_settings: Option<NetworkSettings>
§node: Option<ContainerNode>
§path: Option<String>
§platform: Option<String>
§process_label: Option<String>
§resolv_conf_path: Option<String>
§restart_count: Option<i64>
§size_root_fs: Option<i64>
§size_rw: Option<i64>
§state: Option<ContainerState>
Trait Implementations§
source§impl Clone for ContainerJson
impl Clone for ContainerJson
source§fn clone(&self) -> ContainerJson
fn clone(&self) -> ContainerJson
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContainerJson
impl Debug for ContainerJson
source§impl<'de> Deserialize<'de> for ContainerJson
impl<'de> Deserialize<'de> for ContainerJson
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerJson, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerJson, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ContainerJson> for ContainerJson
impl PartialEq<ContainerJson> for ContainerJson
source§fn eq(&self, other: &ContainerJson) -> bool
fn eq(&self, other: &ContainerJson) -> bool
source§impl Serialize for ContainerJson
impl Serialize for ContainerJson
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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