#[non_exhaustive]pub struct QueryDeployedModelsResponse {
pub deployed_models: Vec<DeployedModel>,
pub next_page_token: String,
pub deployed_model_refs: Vec<DeployedModelRef>,
pub total_deployed_model_count: i32,
pub total_endpoint_count: i32,
/* private fields */
}Expand description
Response 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.deployed_models: Vec<DeployedModel>👎Deprecated
DEPRECATED Use deployed_model_refs instead.
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.
deployed_model_refs: Vec<DeployedModelRef>References to the DeployedModels that share the specified deploymentResourcePool.
total_deployed_model_count: i32The total number of DeployedModels on this DeploymentResourcePool.
total_endpoint_count: i32The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.
Implementations§
Source§impl QueryDeployedModelsResponse
impl QueryDeployedModelsResponse
pub fn new() -> Self
Sourcepub fn set_deployed_models<T, V>(self, v: T) -> Self
👎Deprecated
pub fn set_deployed_models<T, V>(self, v: T) -> Self
Sets the value of deployed_models.
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.
Sourcepub fn set_deployed_model_refs<T, V>(self, v: T) -> Self
pub fn set_deployed_model_refs<T, V>(self, v: T) -> Self
Sets the value of deployed_model_refs.
Sourcepub fn set_total_deployed_model_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_deployed_model_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of total_deployed_model_count.
Sourcepub fn set_total_endpoint_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_endpoint_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of total_endpoint_count.
Trait Implementations§
Source§impl Clone for QueryDeployedModelsResponse
impl Clone for QueryDeployedModelsResponse
Source§fn clone(&self) -> QueryDeployedModelsResponse
fn clone(&self) -> QueryDeployedModelsResponse
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 QueryDeployedModelsResponse
impl Debug for QueryDeployedModelsResponse
Source§impl Default for QueryDeployedModelsResponse
impl Default for QueryDeployedModelsResponse
Source§fn default() -> QueryDeployedModelsResponse
fn default() -> QueryDeployedModelsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryDeployedModelsResponsewhere
QueryDeployedModelsResponse: Default,
impl<'de> Deserialize<'de> for QueryDeployedModelsResponsewhere
QueryDeployedModelsResponse: 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
impl StructuralPartialEq for QueryDeployedModelsResponse
Auto Trait Implementations§
impl Freeze for QueryDeployedModelsResponse
impl RefUnwindSafe for QueryDeployedModelsResponse
impl Send for QueryDeployedModelsResponse
impl Sync for QueryDeployedModelsResponse
impl Unpin for QueryDeployedModelsResponse
impl UnwindSafe for QueryDeployedModelsResponse
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