#[non_exhaustive]pub struct ListTensorboardRunsResponse {
pub tensorboard_runs: Vec<TensorboardRun>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
tensorboard-service only.Expand description
Response message for TensorboardService.ListTensorboardRuns.
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.tensorboard_runs: Vec<TensorboardRun>The TensorboardRuns mathching the request.
next_page_token: StringA token, which can be sent as ListTensorboardRunsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListTensorboardRunsResponse
impl ListTensorboardRunsResponse
pub fn new() -> Self
Sourcepub fn set_tensorboard_runs<T, V>(self, v: T) -> Self
pub fn set_tensorboard_runs<T, V>(self, v: T) -> Self
Sets the value of tensorboard_runs.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::TensorboardRun;
let x = ListTensorboardRunsResponse::new()
.set_tensorboard_runs([
TensorboardRun::default()/* use setters */,
TensorboardRun::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 = ListTensorboardRunsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListTensorboardRunsResponse
impl Clone for ListTensorboardRunsResponse
Source§fn clone(&self) -> ListTensorboardRunsResponse
fn clone(&self) -> ListTensorboardRunsResponse
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 ListTensorboardRunsResponse
impl Debug for ListTensorboardRunsResponse
Source§impl Default for ListTensorboardRunsResponse
impl Default for ListTensorboardRunsResponse
Source§fn default() -> ListTensorboardRunsResponse
fn default() -> ListTensorboardRunsResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ListTensorboardRunsResponse
Auto Trait Implementations§
impl Freeze for ListTensorboardRunsResponse
impl RefUnwindSafe for ListTensorboardRunsResponse
impl Send for ListTensorboardRunsResponse
impl Sync for ListTensorboardRunsResponse
impl Unpin for ListTensorboardRunsResponse
impl UnwindSafe for ListTensorboardRunsResponse
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