#[non_exhaustive]pub struct ListDataStoresResponse {
pub data_stores: Vec<DataStore>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
data-store-service only.Expand description
Response message for DataStoreService.ListDataStores method.
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_stores: Vec<DataStore>All the customer’s DataStores.
next_page_token: StringA token that can be sent as ListDataStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListDataStoresResponse
impl ListDataStoresResponse
pub fn new() -> Self
Sourcepub fn set_data_stores<T, V>(self, v: T) -> Self
pub fn set_data_stores<T, V>(self, v: T) -> Self
Sets the value of data_stores.
§Example
ⓘ
use google_cloud_discoveryengine_v1::model::DataStore;
let x = ListDataStoresResponse::new()
.set_data_stores([
DataStore::default()/* use setters */,
DataStore::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 = ListDataStoresResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListDataStoresResponse
impl Clone for ListDataStoresResponse
Source§fn clone(&self) -> ListDataStoresResponse
fn clone(&self) -> ListDataStoresResponse
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 ListDataStoresResponse
impl Debug for ListDataStoresResponse
Source§impl Default for ListDataStoresResponse
impl Default for ListDataStoresResponse
Source§fn default() -> ListDataStoresResponse
fn default() -> ListDataStoresResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListDataStoresResponse
impl Message for ListDataStoresResponse
Source§impl PartialEq for ListDataStoresResponse
impl PartialEq for ListDataStoresResponse
impl StructuralPartialEq for ListDataStoresResponse
Auto Trait Implementations§
impl Freeze for ListDataStoresResponse
impl RefUnwindSafe for ListDataStoresResponse
impl Send for ListDataStoresResponse
impl Sync for ListDataStoresResponse
impl Unpin for ListDataStoresResponse
impl UnwindSafe for ListDataStoresResponse
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