#[non_exhaustive]pub struct ListNotebookRuntimeTemplatesResponse {
pub notebook_runtime_templates: Vec<NotebookRuntimeTemplate>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
notebook-service only.Expand description
Response message for NotebookService.ListNotebookRuntimeTemplates.
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.notebook_runtime_templates: Vec<NotebookRuntimeTemplate>List of NotebookRuntimeTemplates in the requested page.
next_page_token: StringA token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.page_token to obtain that page.
Implementations§
Source§impl ListNotebookRuntimeTemplatesResponse
impl ListNotebookRuntimeTemplatesResponse
pub fn new() -> Self
Sourcepub fn set_notebook_runtime_templates<T, V>(self, v: T) -> Self
pub fn set_notebook_runtime_templates<T, V>(self, v: T) -> Self
Sets the value of notebook_runtime_templates.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::NotebookRuntimeTemplate;
let x = ListNotebookRuntimeTemplatesResponse::new()
.set_notebook_runtime_templates([
NotebookRuntimeTemplate::default()/* use setters */,
NotebookRuntimeTemplate::default()/* use (different) setters */,
]);Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListNotebookRuntimeTemplatesResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListNotebookRuntimeTemplatesResponse
impl Clone for ListNotebookRuntimeTemplatesResponse
Source§fn clone(&self) -> ListNotebookRuntimeTemplatesResponse
fn clone(&self) -> ListNotebookRuntimeTemplatesResponse
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 Default for ListNotebookRuntimeTemplatesResponse
impl Default for ListNotebookRuntimeTemplatesResponse
Source§fn default() -> ListNotebookRuntimeTemplatesResponse
fn default() -> ListNotebookRuntimeTemplatesResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListNotebookRuntimeTemplatesResponse
impl PartialEq for ListNotebookRuntimeTemplatesResponse
Source§fn eq(&self, other: &ListNotebookRuntimeTemplatesResponse) -> bool
fn eq(&self, other: &ListNotebookRuntimeTemplatesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListNotebookRuntimeTemplatesResponse
Auto Trait Implementations§
impl Freeze for ListNotebookRuntimeTemplatesResponse
impl RefUnwindSafe for ListNotebookRuntimeTemplatesResponse
impl Send for ListNotebookRuntimeTemplatesResponse
impl Sync for ListNotebookRuntimeTemplatesResponse
impl Unpin for ListNotebookRuntimeTemplatesResponse
impl UnwindSafe for ListNotebookRuntimeTemplatesResponse
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