pub struct CloudSandbox {
pub id: String,
pub org_id: String,
pub name: String,
pub status: CloudSandboxStatus,
pub config: CloudCreateSandboxRequest,
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 sandbox name.
status: CloudSandboxStatusCurrent lifecycle status.
config: CloudCreateSandboxRequestCreate request stored by the cloud control plane.
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 CloudSandbox
impl Clone for CloudSandbox
Source§fn clone(&self) -> CloudSandbox
fn clone(&self) -> CloudSandbox
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 CloudSandbox
impl Debug for CloudSandbox
Source§impl<'de> Deserialize<'de> for CloudSandbox
impl<'de> Deserialize<'de> for CloudSandbox
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 CloudSandbox
impl RefUnwindSafe for CloudSandbox
impl Send for CloudSandbox
impl Sync for CloudSandbox
impl Unpin for CloudSandbox
impl UnsafeUnpin for CloudSandbox
impl UnwindSafe for CloudSandbox
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