#[non_exhaustive]pub struct ListMappingRulesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Retrieve a list of all mapping rules in a given conversion workspace.
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. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
page_size: i32The maximum number of rules to return. The service may return fewer than this value.
page_token: StringThe nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token.
Implementations§
Source§impl ListMappingRulesRequest
impl ListMappingRulesRequest
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_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.
Trait Implementations§
Source§impl Clone for ListMappingRulesRequest
impl Clone for ListMappingRulesRequest
Source§fn clone(&self) -> ListMappingRulesRequest
fn clone(&self) -> ListMappingRulesRequest
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 ListMappingRulesRequest
impl Debug for ListMappingRulesRequest
Source§impl Default for ListMappingRulesRequest
impl Default for ListMappingRulesRequest
Source§fn default() -> ListMappingRulesRequest
fn default() -> ListMappingRulesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListMappingRulesRequest
impl Message for ListMappingRulesRequest
Source§impl PartialEq for ListMappingRulesRequest
impl PartialEq for ListMappingRulesRequest
impl StructuralPartialEq for ListMappingRulesRequest
Auto Trait Implementations§
impl Freeze for ListMappingRulesRequest
impl RefUnwindSafe for ListMappingRulesRequest
impl Send for ListMappingRulesRequest
impl Sync for ListMappingRulesRequest
impl Unpin for ListMappingRulesRequest
impl UnwindSafe for ListMappingRulesRequest
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