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