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