pub struct SandboxInfo {Show 17 fields
pub id: String,
pub name: String,
pub status: SandboxStatus,
pub image: String,
pub region: Option<String>,
pub start_command: Option<String>,
pub working_directory: Option<String>,
pub size_class: Option<String>,
pub env_vars: Option<HashMap<String, String>>,
pub setup_hooks: Option<Vec<String>>,
pub uptime_secs: u64,
pub ttl_seconds: Option<u64>,
pub is_deployed: bool,
pub error_message: Option<String>,
pub status_changed_at: String,
pub urls: Vec<BoundUrl>,
pub metadata: Option<Value>,
}Fields§
§id: String§name: String§status: SandboxStatus§image: String§region: Option<String>§start_command: Option<String>§working_directory: Option<String>§size_class: Option<String>§env_vars: Option<HashMap<String, String>>§setup_hooks: Option<Vec<String>>§uptime_secs: u64§ttl_seconds: Option<u64>§is_deployed: bool§error_message: Option<String>§status_changed_at: String§urls: Vec<BoundUrl>§metadata: Option<Value>Free-form JSON tags set by the server (e.g. {"project_id": "..."}).
Mirrors the metadata column on deployed_sandbox.
Trait Implementations§
Source§impl Clone for SandboxInfo
impl Clone for SandboxInfo
Source§fn clone(&self) -> SandboxInfo
fn clone(&self) -> SandboxInfo
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 SandboxInfo
impl Debug for SandboxInfo
Source§impl<'de> Deserialize<'de> for SandboxInfo
impl<'de> Deserialize<'de> for SandboxInfo
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 SandboxInfo
impl RefUnwindSafe for SandboxInfo
impl Send for SandboxInfo
impl Sync for SandboxInfo
impl Unpin for SandboxInfo
impl UnsafeUnpin for SandboxInfo
impl UnwindSafe for SandboxInfo
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