pub struct Sandbox {
pub id: String,
pub status: String,
pub label: Option<String>,
pub created_at: String,
pub destroyed_at: Option<String>,
pub expires_at: Option<String>,
pub connect: Option<SandboxConnectInfo>,
pub usage: Option<UsageSummary>,
}Expand description
A sandbox session (SandboxSessionOut/SandboxCreatedResponse).
usage is only present on Client::create_sandbox’s response, not on
Client::get_sandbox/Client::list_sandboxes.
Fields§
§id: String§status: String"active" or "destroyed".
label: Option<String>§created_at: String§destroyed_at: Option<String>§expires_at: Option<String>§connect: Option<SandboxConnectInfo>§usage: Option<UsageSummary>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