#[non_exhaustive]pub struct ListQuotaInfosRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Message for requesting list of QuotaInfos
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. Identifier. Parent value of QuotaInfo resources. Listing across different resource containers (such as ‘projects/-’) is not allowed.
Example names:
projects/123/locations/global/services/compute.googleapis.com
folders/234/locations/global/services/compute.googleapis.com
organizations/345/locations/global/services/compute.googleapis.com
page_size: i32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
page_token: StringOptional. A token identifying a page of results the server should return.
Implementations§
Source§impl ListQuotaInfosRequest
impl ListQuotaInfosRequest
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 = ListQuotaInfosRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListQuotaInfosRequest
impl Clone for ListQuotaInfosRequest
Source§impl Debug for ListQuotaInfosRequest
impl Debug for ListQuotaInfosRequest
Source§impl Default for ListQuotaInfosRequest
impl Default for ListQuotaInfosRequest
Source§impl Message for ListQuotaInfosRequest
impl Message for ListQuotaInfosRequest
Source§impl PartialEq for ListQuotaInfosRequest
impl PartialEq for ListQuotaInfosRequest
impl StructuralPartialEq for ListQuotaInfosRequest
Auto Trait Implementations§
impl Freeze for ListQuotaInfosRequest
impl RefUnwindSafe for ListQuotaInfosRequest
impl Send for ListQuotaInfosRequest
impl Sync for ListQuotaInfosRequest
impl Unpin for ListQuotaInfosRequest
impl UnsafeUnpin for ListQuotaInfosRequest
impl UnwindSafe for ListQuotaInfosRequest
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