pub struct SandboxDraft {
pub name: String,
pub image: String,
pub entrypoint: Option<String>,
pub command: Vec<String>,
pub environment: Vec<EnvironmentVariable>,
pub cpus: u32,
pub memory_mib: u32,
pub seed: u64,
pub network: SandboxNetwork,
}Fields§
§name: String§image: String§entrypoint: Option<String>§command: Vec<String>§environment: Vec<EnvironmentVariable>§cpus: u32§memory_mib: u32§seed: u64§network: SandboxNetworkTrait Implementations§
Source§impl Clone for SandboxDraft
impl Clone for SandboxDraft
Source§impl Debug for SandboxDraft
impl Debug for SandboxDraft
Source§impl Default for SandboxDraft
impl Default for SandboxDraft
Source§impl<'de> Deserialize<'de> for SandboxDraftwhere
SandboxDraft: Default,
impl<'de> Deserialize<'de> for SandboxDraftwhere
SandboxDraft: Default,
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
impl Eq for SandboxDraft
Source§impl From<SandboxSpec> for SandboxDraft
impl From<SandboxSpec> for SandboxDraft
Source§fn from(spec: SandboxSpec) -> Self
fn from(spec: SandboxSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SandboxDraft
impl PartialEq for SandboxDraft
Source§impl Serialize for SandboxDraft
impl Serialize for SandboxDraft
impl StructuralPartialEq for SandboxDraft
Source§impl TryFrom<SandboxDraft> for SandboxSpec
impl TryFrom<SandboxDraft> for SandboxSpec
Auto Trait Implementations§
impl Forget for SandboxDraft
impl Freeze for SandboxDraftwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EnvironmentVariable>: Freeze,
impl Move for SandboxDraft
impl RefUnwindSafe for SandboxDraft
impl Send for SandboxDraftwhere
RawVecInner: Send,
impl Sync for SandboxDraftwhere
RawVecInner: Sync,
impl Unpin for SandboxDraft
impl UnsafeUnpin for SandboxDraftwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EnvironmentVariable>: UnsafeUnpin,
impl UnwindSafe for SandboxDraftwhere
RawVecInner: UnwindSafe,
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