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