#[non_exhaustive]pub enum EnvironmentSpec {
NotebookRuntimeTemplateResourceName(String),
CustomEnvironmentSpec(Box<CustomEnvironmentSpec>),
}Available on crate features
notebook-service or schedule-service only.Expand description
The compute config to use for an execution job.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotebookRuntimeTemplateResourceName(String)
The NotebookRuntimeTemplate to source compute configuration from.
CustomEnvironmentSpec(Box<CustomEnvironmentSpec>)
The custom compute configuration for an execution job.
Trait Implementations§
Source§impl Clone for EnvironmentSpec
impl Clone for EnvironmentSpec
Source§fn clone(&self) -> EnvironmentSpec
fn clone(&self) -> EnvironmentSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 EnvironmentSpec
impl Debug for EnvironmentSpec
Source§impl PartialEq for EnvironmentSpec
impl PartialEq for EnvironmentSpec
impl StructuralPartialEq for EnvironmentSpec
Auto Trait Implementations§
impl Freeze for EnvironmentSpec
impl RefUnwindSafe for EnvironmentSpec
impl Send for EnvironmentSpec
impl Sync for EnvironmentSpec
impl Unpin for EnvironmentSpec
impl UnwindSafe for EnvironmentSpec
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