#[non_exhaustive]pub struct ColabImage {
pub release_name: String,
pub description: String,
/* private fields */
}Available on crate feature
notebook-service only.Expand description
Colab image of the runtime.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.release_name: StringOptional. The release name of the NotebookRuntime Colab image, e.g. “py310”. If not specified, detault to the latest release.
description: StringOutput only. A human-readable description of the specified colab image release, populated by the system. Example: “Python 3.10”, “Latest - current Python 3.11”
Implementations§
Source§impl ColabImage
impl ColabImage
pub fn new() -> Self
Sourcepub fn set_release_name<T: Into<String>>(self, v: T) -> Self
pub fn set_release_name<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ColabImage
impl Clone for ColabImage
Source§fn clone(&self) -> ColabImage
fn clone(&self) -> ColabImage
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 ColabImage
impl Debug for ColabImage
Source§impl Default for ColabImage
impl Default for ColabImage
Source§fn default() -> ColabImage
fn default() -> ColabImage
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColabImage
impl PartialEq for ColabImage
impl StructuralPartialEq for ColabImage
Auto Trait Implementations§
impl Freeze for ColabImage
impl RefUnwindSafe for ColabImage
impl Send for ColabImage
impl Sync for ColabImage
impl Unpin for ColabImage
impl UnwindSafe for ColabImage
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