#[non_exhaustive]pub struct ListMetadataSchemasRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Available on crate feature
metadata-service only.Expand description
Request message for MetadataService.ListMetadataSchemas.
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 MetadataStore whose MetadataSchemas should be listed.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
page_size: i32The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
page_token: StringA page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page.
When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
filter: StringA query to filter available MetadataSchemas for matching results.
Implementations§
Source§impl ListMetadataSchemasRequest
impl ListMetadataSchemasRequest
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_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 = ListMetadataSchemasRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListMetadataSchemasRequest
impl Clone for ListMetadataSchemasRequest
Source§fn clone(&self) -> ListMetadataSchemasRequest
fn clone(&self) -> ListMetadataSchemasRequest
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 ListMetadataSchemasRequest
impl Debug for ListMetadataSchemasRequest
Source§impl Default for ListMetadataSchemasRequest
impl Default for ListMetadataSchemasRequest
Source§fn default() -> ListMetadataSchemasRequest
fn default() -> ListMetadataSchemasRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListMetadataSchemasRequest
impl Message for ListMetadataSchemasRequest
impl StructuralPartialEq for ListMetadataSchemasRequest
Auto Trait Implementations§
impl Freeze for ListMetadataSchemasRequest
impl RefUnwindSafe for ListMetadataSchemasRequest
impl Send for ListMetadataSchemasRequest
impl Sync for ListMetadataSchemasRequest
impl Unpin for ListMetadataSchemasRequest
impl UnwindSafe for ListMetadataSchemasRequest
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