pub struct Sandbox {Show 28 fields
pub id: Uuid,
pub organization_id: Uuid,
pub target: String,
pub snapshot: String,
pub user: String,
pub env: HashMap<String, String>,
pub cpu: u32,
pub gpu: u32,
pub memory: u32,
pub disk: u32,
pub public: bool,
pub network_block_all: bool,
pub network_allow_list: Option<Vec<String>>,
pub labels: HashMap<String, String>,
pub volumes: Vec<SandboxVolumeAttachment>,
pub build_info: Option<BuildInfo>,
pub state: SandboxState,
pub desired_state: SandboxState,
pub error_reason: Option<String>,
pub backup_state: String,
pub auto_stop_interval: u32,
pub auto_archive_interval: u32,
pub auto_delete_interval: i32,
pub class: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub runner_domain: Option<String>,
pub daemon_version: Option<String>,
}Expand description
Sandbox configuration and metadata
Fields§
§id: Uuid§organization_id: Uuid§target: String§snapshot: String§user: String§env: HashMap<String, String>§cpu: u32§gpu: u32§memory: u32§disk: u32§public: bool§network_block_all: bool§network_allow_list: Option<Vec<String>>§labels: HashMap<String, String>§volumes: Vec<SandboxVolumeAttachment>§build_info: Option<BuildInfo>§state: SandboxState§desired_state: SandboxState§error_reason: Option<String>§backup_state: String§auto_stop_interval: u32§auto_archive_interval: u32§auto_delete_interval: i32§class: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§runner_domain: Option<String>§daemon_version: Option<String>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
Source§impl SandboxLspExt for Sandbox
impl SandboxLspExt for Sandbox
Source§fn lsp<'a>(&self, client: &'a DaytonaClient) -> LspManager<'a>
fn lsp<'a>(&self, client: &'a DaytonaClient) -> LspManager<'a>
Create an LSP manager for this sandbox
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