pub struct ContainerJson {Show 26 fields
pub app_armor_profile: Option<String>,
pub args: Option<Vec<String>>,
pub config: Option<Config>,
pub created: Option<String>,
pub driver: Option<String>,
pub exec_i_ds: Option<Vec<String>>,
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>>,
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>>
§config: Option<Config>
§created: Option<String>
§driver: Option<String>
§exec_i_ds: Option<Vec<String>>
§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>>
§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 for ContainerJson
impl PartialEq for ContainerJson
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
impl StructuralPartialEq for ContainerJson
Auto Trait Implementations§
impl Freeze for ContainerJson
impl RefUnwindSafe for ContainerJson
impl Send for ContainerJson
impl Sync for ContainerJson
impl Unpin for ContainerJson
impl UnwindSafe for ContainerJson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more