#[non_exhaustive]pub struct QueryDeployedModelsRequest {
pub deployment_resource_pool: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for QueryDeployedModels 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_pool: StringRequired. The name of the target DeploymentResourcePool to query.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
page_size: i32The maximum number of DeployedModels to return. The service may return fewer than this value.
page_token: StringA page token, received from a previous QueryDeployedModels call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
QueryDeployedModels must match the call that provided the page
token.
Implementations§
Source§impl QueryDeployedModelsRequest
impl QueryDeployedModelsRequest
pub fn new() -> Self
Sourcepub fn set_deployment_resource_pool<T: Into<String>>(self, v: T) -> Self
pub fn set_deployment_resource_pool<T: Into<String>>(self, v: T) -> Self
Sets the value of deployment_resource_pool.
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 QueryDeployedModelsRequest
impl Clone for QueryDeployedModelsRequest
Source§fn clone(&self) -> QueryDeployedModelsRequest
fn clone(&self) -> QueryDeployedModelsRequest
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 Debug for QueryDeployedModelsRequest
impl Debug for QueryDeployedModelsRequest
Source§impl Default for QueryDeployedModelsRequest
impl Default for QueryDeployedModelsRequest
Source§fn default() -> QueryDeployedModelsRequest
fn default() -> QueryDeployedModelsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryDeployedModelsRequestwhere
QueryDeployedModelsRequest: Default,
impl<'de> Deserialize<'de> for QueryDeployedModelsRequestwhere
QueryDeployedModelsRequest: Default,
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 Message for QueryDeployedModelsRequest
impl Message for QueryDeployedModelsRequest
impl StructuralPartialEq for QueryDeployedModelsRequest
Auto Trait Implementations§
impl Freeze for QueryDeployedModelsRequest
impl RefUnwindSafe for QueryDeployedModelsRequest
impl Send for QueryDeployedModelsRequest
impl Sync for QueryDeployedModelsRequest
impl Unpin for QueryDeployedModelsRequest
impl UnwindSafe for QueryDeployedModelsRequest
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