#[non_exhaustive]pub struct ListDeploymentResourcePoolsResponse {
pub deployment_resource_pools: Vec<DeploymentResourcePool>,
pub next_page_token: String,
/* private fields */
}Expand description
Response 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.deployment_resource_pools: Vec<DeploymentResourcePool>The DeploymentResourcePools from the specified location.
next_page_token: StringA token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListDeploymentResourcePoolsResponse
impl ListDeploymentResourcePoolsResponse
pub fn new() -> Self
Sourcepub fn set_deployment_resource_pools<T, V>(self, v: T) -> Self
pub fn set_deployment_resource_pools<T, V>(self, v: T) -> Self
Sets the value of deployment_resource_pools.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListDeploymentResourcePoolsResponse
impl Clone for ListDeploymentResourcePoolsResponse
Source§fn clone(&self) -> ListDeploymentResourcePoolsResponse
fn clone(&self) -> ListDeploymentResourcePoolsResponse
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 ListDeploymentResourcePoolsResponse
impl Default for ListDeploymentResourcePoolsResponse
Source§fn default() -> ListDeploymentResourcePoolsResponse
fn default() -> ListDeploymentResourcePoolsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListDeploymentResourcePoolsResponse
impl<'de> Deserialize<'de> for ListDeploymentResourcePoolsResponse
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 ListDeploymentResourcePoolsResponse
impl PartialEq for ListDeploymentResourcePoolsResponse
Source§fn eq(&self, other: &ListDeploymentResourcePoolsResponse) -> bool
fn eq(&self, other: &ListDeploymentResourcePoolsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListDeploymentResourcePoolsResponse
Auto Trait Implementations§
impl Freeze for ListDeploymentResourcePoolsResponse
impl RefUnwindSafe for ListDeploymentResourcePoolsResponse
impl Send for ListDeploymentResourcePoolsResponse
impl Sync for ListDeploymentResourcePoolsResponse
impl Unpin for ListDeploymentResourcePoolsResponse
impl UnwindSafe for ListDeploymentResourcePoolsResponse
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