pub struct Sandbox {
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 sandbox (isolated Linux environment).
Fields§
§id: StringSandbox ID.
name: StringSandbox name.
image: StringImage alias.
status: StringCurrent status.
created_at: StringCreation timestamp.
started_at: Option<String>Start timestamp (if running).
labels: HashMap<String, String>Labels.
environment: HashMap<String, String>Environment variables.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sandbox
impl<'de> Deserialize<'de> for Sandbox
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 Sandbox
impl RefUnwindSafe for Sandbox
impl Send for Sandbox
impl Sync for Sandbox
impl Unpin for Sandbox
impl UnsafeUnpin for Sandbox
impl UnwindSafe for Sandbox
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