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