pub struct CreateSandboxOptions {
pub image: Option<String>,
pub vcpus: Option<u32>,
pub memory_mb: Option<u64>,
pub profile: Option<SecurityProfile>,
pub source_url: Option<String>,
pub source_ref: Option<String>,
pub volumes: Vec<String>,
}Expand description
Options for creating a sandbox with a git source.
Fields§
§image: Option<String>Docker image to use.
vcpus: Option<u32>§memory_mb: Option<u64>§profile: Option<SecurityProfile>§source_url: Option<String>Git repository URL to clone into the sandbox.
source_ref: Option<String>Git ref to checkout after cloning.
volumes: Vec<String>Volume mounts (slug:/path or slug:/path:ro). Create volumes via CLI first.
Trait Implementations§
Source§impl Debug for CreateSandboxOptions
impl Debug for CreateSandboxOptions
Source§impl Default for CreateSandboxOptions
impl Default for CreateSandboxOptions
Source§fn default() -> CreateSandboxOptions
fn default() -> CreateSandboxOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateSandboxOptions
impl RefUnwindSafe for CreateSandboxOptions
impl Send for CreateSandboxOptions
impl Sync for CreateSandboxOptions
impl Unpin for CreateSandboxOptions
impl UnwindSafe for CreateSandboxOptions
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