#[non_exhaustive]pub struct ListDeploymentResourcePoolsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for ListDeploymentResourcePools method.
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 parent Location which owns this collection of
DeploymentResourcePools. Format: projects/{project}/locations/{location}
page_size: i32The maximum number of DeploymentResourcePools to return. The service may return fewer than this value.
page_token: StringA page token, received from a previous ListDeploymentResourcePools call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListDeploymentResourcePools must match the call that provided the page
token.
Implementations§
Source§impl ListDeploymentResourcePoolsRequest
impl ListDeploymentResourcePoolsRequest
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 ListDeploymentResourcePoolsRequest
impl Clone for ListDeploymentResourcePoolsRequest
Source§fn clone(&self) -> ListDeploymentResourcePoolsRequest
fn clone(&self) -> ListDeploymentResourcePoolsRequest
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 Default for ListDeploymentResourcePoolsRequest
impl Default for ListDeploymentResourcePoolsRequest
Source§fn default() -> ListDeploymentResourcePoolsRequest
fn default() -> ListDeploymentResourcePoolsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListDeploymentResourcePoolsRequest
impl<'de> Deserialize<'de> for ListDeploymentResourcePoolsRequest
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 PartialEq for ListDeploymentResourcePoolsRequest
impl PartialEq for ListDeploymentResourcePoolsRequest
Source§fn eq(&self, other: &ListDeploymentResourcePoolsRequest) -> bool
fn eq(&self, other: &ListDeploymentResourcePoolsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListDeploymentResourcePoolsRequest
Auto Trait Implementations§
impl Freeze for ListDeploymentResourcePoolsRequest
impl RefUnwindSafe for ListDeploymentResourcePoolsRequest
impl Send for ListDeploymentResourcePoolsRequest
impl Sync for ListDeploymentResourcePoolsRequest
impl Unpin for ListDeploymentResourcePoolsRequest
impl UnwindSafe for ListDeploymentResourcePoolsRequest
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