#[non_exhaustive]pub struct ListDataItemsResponse {
pub data_items: Vec<DataItem>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
dataset-service only.Expand description
Response message for DatasetService.ListDataItems.
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.data_items: Vec<DataItem>A list of DataItems that matches the specified filter in the request.
next_page_token: StringThe standard List next-page token.
Implementations§
Source§impl ListDataItemsResponse
impl ListDataItemsResponse
pub fn new() -> Self
Sourcepub fn set_data_items<T, V>(self, v: T) -> Self
pub fn set_data_items<T, V>(self, v: T) -> Self
Sets the value of data_items.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::DataItem;
let x = ListDataItemsResponse::new()
.set_data_items([
DataItem::default()/* use setters */,
DataItem::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 = ListDataItemsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListDataItemsResponse
impl Clone for ListDataItemsResponse
Source§fn clone(&self) -> ListDataItemsResponse
fn clone(&self) -> ListDataItemsResponse
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 ListDataItemsResponse
impl Debug for ListDataItemsResponse
Source§impl Default for ListDataItemsResponse
impl Default for ListDataItemsResponse
Source§fn default() -> ListDataItemsResponse
fn default() -> ListDataItemsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListDataItemsResponse
impl Message for ListDataItemsResponse
Source§impl PartialEq for ListDataItemsResponse
impl PartialEq for ListDataItemsResponse
impl StructuralPartialEq for ListDataItemsResponse
Auto Trait Implementations§
impl Freeze for ListDataItemsResponse
impl RefUnwindSafe for ListDataItemsResponse
impl Send for ListDataItemsResponse
impl Sync for ListDataItemsResponse
impl Unpin for ListDataItemsResponse
impl UnwindSafe for ListDataItemsResponse
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