pub struct Container {Show 13 fields
pub id: String,
pub names: Vec<String>,
pub image: String,
pub image_id: String,
pub command: String,
pub created: i64,
pub ports: Vec<Port>,
pub labels: Option<HashMap<String, String>>,
pub state: String,
pub status: String,
pub host_config: HostConfig,
pub network_settings: NetworkSettings,
pub mounts: Vec<Mount>,
}
Fields§
§id: String
§names: Vec<String>
§image: String
§image_id: String
§command: String
§created: i64
§ports: Vec<Port>
§labels: Option<HashMap<String, String>>
§state: String
§status: String
§host_config: HostConfig
§network_settings: NetworkSettings
§mounts: Vec<Mount>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Container
impl<'de> Deserialize<'de> for Container
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
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnwindSafe for Container
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