Struct bollard::container::APIContainers
source · pub struct APIContainers {Show 15 fields
pub id: String,
pub names: Vec<String>,
pub image: String,
pub image_id: String,
pub command: String,
pub created: DateTime<Utc>,
pub state: String,
pub status: String,
pub ports: Vec<APIPort>,
pub labels: HashMap<String, String>,
pub size_rw: Option<i64>,
pub size_root_fs: Option<i64>,
pub mounts: Vec<Mount>,
pub network_settings: NetworkList,
pub host_config: HostConfig<String>,
}
Expand description
Result type for the List Containers API
Fields§
§id: String
§names: Vec<String>
§image: String
§image_id: String
§command: String
§created: DateTime<Utc>
§state: String
§status: String
§ports: Vec<APIPort>
§labels: HashMap<String, String>
§size_rw: Option<i64>
§size_root_fs: Option<i64>
§mounts: Vec<Mount>
§network_settings: NetworkList
§host_config: HostConfig<String>
Trait Implementations§
source§impl Clone for APIContainers
impl Clone for APIContainers
source§fn clone(&self) -> APIContainers
fn clone(&self) -> APIContainers
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 APIContainers
impl Debug for APIContainers
source§impl<'de> Deserialize<'de> for APIContainers
impl<'de> Deserialize<'de> for APIContainers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more