pub struct Container {
pub id: String,
pub name: String,
pub image: String,
pub status: String,
pub created_at: String,
pub started_at: Option<String>,
pub labels: HashMap<String, String>,
pub environment: HashMap<String, String>,
}Expand description
Represents a Rexec container/sandbox.
Fields§
§id: StringContainer ID.
name: StringContainer name.
image: StringDocker image.
status: StringCurrent status.
created_at: StringCreation timestamp.
started_at: Option<String>Start timestamp (if running).
labels: HashMap<String, String>Container labels.
environment: HashMap<String, String>Environment variables.
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 UnsafeUnpin 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