#[non_exhaustive]pub struct ListDatasetsResponse {
pub datasets: Vec<Dataset>,
pub next_page_token: String,
/* private fields */
}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
Sets the value of datasets.
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.
Trait Implementations§
Source§impl Clone for ListDatasetsResponse
impl Clone for ListDatasetsResponse
Source§fn clone(&self) -> ListDatasetsResponse
fn clone(&self) -> ListDatasetsResponse
Returns a copy 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<'de> Deserialize<'de> for ListDatasetsResponsewhere
ListDatasetsResponse: Default,
impl<'de> Deserialize<'de> for ListDatasetsResponsewhere
ListDatasetsResponse: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ListDatasetsResponse
impl Message for ListDatasetsResponse
Source§impl PartialEq for ListDatasetsResponse
impl PartialEq for ListDatasetsResponse
Source§impl Serialize for ListDatasetsResponse
impl Serialize 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