#[non_exhaustive]pub enum Image {
VmImage(Box<VmImage>),
ContainerImage(Box<ContainerImage>),
}Expand description
Type of the image; can be one of VM image, or container image.
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.
VmImage(Box<VmImage>)
Optional. Use a Compute Engine VM image to start the notebook instance.
ContainerImage(Box<ContainerImage>)
Optional. Use a container image to start the notebook instance.
Trait Implementations§
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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