#[non_exhaustive]pub struct ListDatasetVersionsRequest {
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 */
}Available on crate feature
dataset-service only.Expand description
Request message for DatasetService.ListDatasetVersions.
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 resource name of the Dataset to list DatasetVersions from.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
filter: StringOptional. The standard list filter.
page_size: i32Optional. The standard list page size.
page_token: StringOptional. The standard list page token.
read_mask: Option<FieldMask>Optional. Mask specifying which fields to read.
order_by: StringOptional. A comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending.
Implementations§
Source§impl ListDatasetVersionsRequest
impl ListDatasetVersionsRequest
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
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
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.
§Example
ⓘ
let x = ListDatasetVersionsRequest::new().set_page_token("example");Sourcepub fn set_read_mask<T>(self, v: T) -> Self
pub fn set_read_mask<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_read_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_read_mask<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for ListDatasetVersionsRequest
impl Clone for ListDatasetVersionsRequest
Source§fn clone(&self) -> ListDatasetVersionsRequest
fn clone(&self) -> ListDatasetVersionsRequest
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 ListDatasetVersionsRequest
impl Debug for ListDatasetVersionsRequest
Source§impl Default for ListDatasetVersionsRequest
impl Default for ListDatasetVersionsRequest
Source§fn default() -> ListDatasetVersionsRequest
fn default() -> ListDatasetVersionsRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListDatasetVersionsRequest
impl Message for ListDatasetVersionsRequest
impl StructuralPartialEq for ListDatasetVersionsRequest
Auto Trait Implementations§
impl Freeze for ListDatasetVersionsRequest
impl RefUnwindSafe for ListDatasetVersionsRequest
impl Send for ListDatasetVersionsRequest
impl Sync for ListDatasetVersionsRequest
impl Unpin for ListDatasetVersionsRequest
impl UnwindSafe for ListDatasetVersionsRequest
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