#[non_exhaustive]pub struct ListDatasetsRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub read_mask: Option<FieldMask>,
pub order_by: String,
/* private fields */
}Expand description
Request 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.parent: StringRequired. The name of the Dataset’s parent resource.
Format: projects/{project}/locations/{location}
filter: StringAn expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
display_name: supports = and !=metadata_schema_uri: supports = and !=labelssupports general map functions that is:labels.key=value- key:value equality- `labels.key:* or labels:key - key existence
- A key including a space must be quoted.
labels."a key".
Some examples:
displayName="myDisplayName"labels.myKey="myValue"
page_size: i32The standard list page size.
page_token: StringThe standard list page token.
read_mask: Option<FieldMask>Mask specifying which fields to read.
order_by: StringA comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending. Supported fields:
display_namecreate_timeupdate_time
Implementations§
Source§impl ListDatasetsRequest
impl ListDatasetsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of read_mask.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Trait Implementations§
Source§impl Clone for ListDatasetsRequest
impl Clone for ListDatasetsRequest
Source§fn clone(&self) -> ListDatasetsRequest
fn clone(&self) -> ListDatasetsRequest
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 ListDatasetsRequest
impl Debug for ListDatasetsRequest
Source§impl Default for ListDatasetsRequest
impl Default for ListDatasetsRequest
Source§fn default() -> ListDatasetsRequest
fn default() -> ListDatasetsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListDatasetsRequestwhere
ListDatasetsRequest: Default,
impl<'de> Deserialize<'de> for ListDatasetsRequestwhere
ListDatasetsRequest: 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 ListDatasetsRequest
impl Message for ListDatasetsRequest
Source§impl PartialEq for ListDatasetsRequest
impl PartialEq for ListDatasetsRequest
Source§impl Serialize for ListDatasetsRequest
impl Serialize for ListDatasetsRequest
impl StructuralPartialEq for ListDatasetsRequest
Auto Trait Implementations§
impl Freeze for ListDatasetsRequest
impl RefUnwindSafe for ListDatasetsRequest
impl Send for ListDatasetsRequest
impl Sync for ListDatasetsRequest
impl Unpin for ListDatasetsRequest
impl UnwindSafe for ListDatasetsRequest
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