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