pub struct CloudCreateSandboxResponse {
pub id: String,
pub org_id: String,
pub name: String,
pub slug: String,
pub status: CloudSandboxStatus,
pub spec: CloudSandboxSpec,
pub ephemeral: bool,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub stopped_at: Option<DateTime<Utc>>,
pub last_error: Option<String>,
}Expand description
Wire shape of the cloud sandbox response returned by sandbox endpoints.
Fields§
§id: StringServer-side UUID.
org_id: StringOwning org’s UUID.
name: StringUser-facing, per-org sandbox name.
slug: StringCanonical, resolved SSH username token.
status: CloudSandboxStatusCurrent lifecycle status.
spec: CloudSandboxSpecThe sandbox spec the cloud control plane stored for this sandbox.
ephemeral: boolWhether the sandbox should be removed when its allocation terminates.
created_at: DateTime<Utc>Creation timestamp.
started_at: Option<DateTime<Utc>>Last start timestamp, when known.
stopped_at: Option<DateTime<Utc>>Last stop timestamp, when known.
last_error: Option<String>Last failure reason, when any.
Trait Implementations§
Source§impl Clone for CloudCreateSandboxResponse
impl Clone for CloudCreateSandboxResponse
Source§fn clone(&self) -> CloudCreateSandboxResponse
fn clone(&self) -> CloudCreateSandboxResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudCreateSandboxResponse
impl Debug for CloudCreateSandboxResponse
Source§impl<'de> Deserialize<'de> for CloudCreateSandboxResponse
impl<'de> Deserialize<'de> for CloudCreateSandboxResponse
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 CloudCreateSandboxResponse
impl RefUnwindSafe for CloudCreateSandboxResponse
impl Send for CloudCreateSandboxResponse
impl Sync for CloudCreateSandboxResponse
impl Unpin for CloudCreateSandboxResponse
impl UnsafeUnpin for CloudCreateSandboxResponse
impl UnwindSafe for CloudCreateSandboxResponse
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