pub struct GoogleCloudAiplatformV1PredictResponse {
pub model_version_id: Option<String>,
pub predictions: Option<Vec<Value>>,
pub model_display_name: Option<String>,
pub model: Option<String>,
pub deployed_model_id: Option<String>,
pub metadata: Option<Value>,
}Expand description
Response message for PredictionService.Predict.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations endpoints predict projects (response)
- locations publishers models predict projects (response)
Fields§
§model_version_id: Option<String>Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
predictions: Option<Vec<Value>>The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint’s DeployedModels’ Model’s PredictSchemata’s prediction_schema_uri.
model_display_name: Option<String>Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.
model: Option<String>Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
deployed_model_id: Option<String>ID of the Endpoint’s DeployedModel that served this prediction.
metadata: Option<Value>Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1PredictResponse
impl Clone for GoogleCloudAiplatformV1PredictResponse
Source§fn clone(&self) -> GoogleCloudAiplatformV1PredictResponse
fn clone(&self) -> GoogleCloudAiplatformV1PredictResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1PredictResponse
impl Default for GoogleCloudAiplatformV1PredictResponse
Source§fn default() -> GoogleCloudAiplatformV1PredictResponse
fn default() -> GoogleCloudAiplatformV1PredictResponse
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1PredictResponse
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1PredictResponse
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>,
impl ResponseResult for GoogleCloudAiplatformV1PredictResponse
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1PredictResponse
impl RefUnwindSafe for GoogleCloudAiplatformV1PredictResponse
impl Send for GoogleCloudAiplatformV1PredictResponse
impl Sync for GoogleCloudAiplatformV1PredictResponse
impl Unpin for GoogleCloudAiplatformV1PredictResponse
impl UnwindSafe for GoogleCloudAiplatformV1PredictResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more