EvaluateInstancesRequest

Struct EvaluateInstancesRequest 

Source
#[non_exhaustive]
pub struct EvaluateInstancesRequest { pub location: String, pub metric_inputs: Option<MetricInputs>, /* private fields */ }
Available on crate feature evaluation-service only.
Expand description

Request message for EvaluationService.EvaluateInstances.

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.
§location: String

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

§metric_inputs: Option<MetricInputs>

Instances and specs for evaluation

Implementations§

Source§

impl EvaluateInstancesRequest

Source

pub fn new() -> Self

Source

pub fn set_location<T: Into<String>>(self, v: T) -> Self

Sets the value of location.

§Example
let x = EvaluateInstancesRequest::new().set_location("example");
Source

pub fn set_metric_inputs<T: Into<Option<MetricInputs>>>(self, v: T) -> Self

Sets the value of metric_inputs.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ExactMatchInput;
let x = EvaluateInstancesRequest::new().set_metric_inputs(Some(
    google_cloud_aiplatform_v1::model::evaluate_instances_request::MetricInputs::ExactMatchInput(ExactMatchInput::default().into())));
Source

pub fn exact_match_input(&self) -> Option<&Box<ExactMatchInput>>

The value of metric_inputs if it holds a ExactMatchInput, None if the field is not set or holds a different branch.

Source

pub fn set_exact_match_input<T: Into<Box<ExactMatchInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a ExactMatchInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ExactMatchInput;
let x = EvaluateInstancesRequest::new().set_exact_match_input(ExactMatchInput::default()/* use setters */);
assert!(x.exact_match_input().is_some());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn bleu_input(&self) -> Option<&Box<BleuInput>>

The value of metric_inputs if it holds a BleuInput, None if the field is not set or holds a different branch.

Source

pub fn set_bleu_input<T: Into<Box<BleuInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a BleuInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::BleuInput;
let x = EvaluateInstancesRequest::new().set_bleu_input(BleuInput::default()/* use setters */);
assert!(x.bleu_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn rouge_input(&self) -> Option<&Box<RougeInput>>

The value of metric_inputs if it holds a RougeInput, None if the field is not set or holds a different branch.

Source

pub fn set_rouge_input<T: Into<Box<RougeInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a RougeInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::RougeInput;
let x = EvaluateInstancesRequest::new().set_rouge_input(RougeInput::default()/* use setters */);
assert!(x.rouge_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn fluency_input(&self) -> Option<&Box<FluencyInput>>

The value of metric_inputs if it holds a FluencyInput, None if the field is not set or holds a different branch.

Source

pub fn set_fluency_input<T: Into<Box<FluencyInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a FluencyInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::FluencyInput;
let x = EvaluateInstancesRequest::new().set_fluency_input(FluencyInput::default()/* use setters */);
assert!(x.fluency_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn coherence_input(&self) -> Option<&Box<CoherenceInput>>

The value of metric_inputs if it holds a CoherenceInput, None if the field is not set or holds a different branch.

Source

pub fn set_coherence_input<T: Into<Box<CoherenceInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a CoherenceInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::CoherenceInput;
let x = EvaluateInstancesRequest::new().set_coherence_input(CoherenceInput::default()/* use setters */);
assert!(x.coherence_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn safety_input(&self) -> Option<&Box<SafetyInput>>

The value of metric_inputs if it holds a SafetyInput, None if the field is not set or holds a different branch.

Source

pub fn set_safety_input<T: Into<Box<SafetyInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a SafetyInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::SafetyInput;
let x = EvaluateInstancesRequest::new().set_safety_input(SafetyInput::default()/* use setters */);
assert!(x.safety_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn groundedness_input(&self) -> Option<&Box<GroundednessInput>>

The value of metric_inputs if it holds a GroundednessInput, None if the field is not set or holds a different branch.

Source

pub fn set_groundedness_input<T: Into<Box<GroundednessInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a GroundednessInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::GroundednessInput;
let x = EvaluateInstancesRequest::new().set_groundedness_input(GroundednessInput::default()/* use setters */);
assert!(x.groundedness_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn fulfillment_input(&self) -> Option<&Box<FulfillmentInput>>

The value of metric_inputs if it holds a FulfillmentInput, None if the field is not set or holds a different branch.

Source

pub fn set_fulfillment_input<T: Into<Box<FulfillmentInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a FulfillmentInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::FulfillmentInput;
let x = EvaluateInstancesRequest::new().set_fulfillment_input(FulfillmentInput::default()/* use setters */);
assert!(x.fulfillment_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn summarization_quality_input( &self, ) -> Option<&Box<SummarizationQualityInput>>

The value of metric_inputs if it holds a SummarizationQualityInput, None if the field is not set or holds a different branch.

Source

pub fn set_summarization_quality_input<T: Into<Box<SummarizationQualityInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a SummarizationQualityInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::SummarizationQualityInput;
let x = EvaluateInstancesRequest::new().set_summarization_quality_input(SummarizationQualityInput::default()/* use setters */);
assert!(x.summarization_quality_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn pairwise_summarization_quality_input( &self, ) -> Option<&Box<PairwiseSummarizationQualityInput>>

The value of metric_inputs if it holds a PairwiseSummarizationQualityInput, None if the field is not set or holds a different branch.

Source

pub fn set_pairwise_summarization_quality_input<T: Into<Box<PairwiseSummarizationQualityInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a PairwiseSummarizationQualityInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::PairwiseSummarizationQualityInput;
let x = EvaluateInstancesRequest::new().set_pairwise_summarization_quality_input(PairwiseSummarizationQualityInput::default()/* use setters */);
assert!(x.pairwise_summarization_quality_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn summarization_helpfulness_input( &self, ) -> Option<&Box<SummarizationHelpfulnessInput>>

The value of metric_inputs if it holds a SummarizationHelpfulnessInput, None if the field is not set or holds a different branch.

Source

pub fn set_summarization_helpfulness_input<T: Into<Box<SummarizationHelpfulnessInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a SummarizationHelpfulnessInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::SummarizationHelpfulnessInput;
let x = EvaluateInstancesRequest::new().set_summarization_helpfulness_input(SummarizationHelpfulnessInput::default()/* use setters */);
assert!(x.summarization_helpfulness_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn summarization_verbosity_input( &self, ) -> Option<&Box<SummarizationVerbosityInput>>

The value of metric_inputs if it holds a SummarizationVerbosityInput, None if the field is not set or holds a different branch.

Source

pub fn set_summarization_verbosity_input<T: Into<Box<SummarizationVerbosityInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a SummarizationVerbosityInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::SummarizationVerbosityInput;
let x = EvaluateInstancesRequest::new().set_summarization_verbosity_input(SummarizationVerbosityInput::default()/* use setters */);
assert!(x.summarization_verbosity_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn question_answering_quality_input( &self, ) -> Option<&Box<QuestionAnsweringQualityInput>>

The value of metric_inputs if it holds a QuestionAnsweringQualityInput, None if the field is not set or holds a different branch.

Source

pub fn set_question_answering_quality_input<T: Into<Box<QuestionAnsweringQualityInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a QuestionAnsweringQualityInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::QuestionAnsweringQualityInput;
let x = EvaluateInstancesRequest::new().set_question_answering_quality_input(QuestionAnsweringQualityInput::default()/* use setters */);
assert!(x.question_answering_quality_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn pairwise_question_answering_quality_input( &self, ) -> Option<&Box<PairwiseQuestionAnsweringQualityInput>>

The value of metric_inputs if it holds a PairwiseQuestionAnsweringQualityInput, None if the field is not set or holds a different branch.

Source

pub fn set_pairwise_question_answering_quality_input<T: Into<Box<PairwiseQuestionAnsweringQualityInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a PairwiseQuestionAnsweringQualityInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::PairwiseQuestionAnsweringQualityInput;
let x = EvaluateInstancesRequest::new().set_pairwise_question_answering_quality_input(PairwiseQuestionAnsweringQualityInput::default()/* use setters */);
assert!(x.pairwise_question_answering_quality_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn question_answering_relevance_input( &self, ) -> Option<&Box<QuestionAnsweringRelevanceInput>>

The value of metric_inputs if it holds a QuestionAnsweringRelevanceInput, None if the field is not set or holds a different branch.

Source

pub fn set_question_answering_relevance_input<T: Into<Box<QuestionAnsweringRelevanceInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a QuestionAnsweringRelevanceInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::QuestionAnsweringRelevanceInput;
let x = EvaluateInstancesRequest::new().set_question_answering_relevance_input(QuestionAnsweringRelevanceInput::default()/* use setters */);
assert!(x.question_answering_relevance_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn question_answering_helpfulness_input( &self, ) -> Option<&Box<QuestionAnsweringHelpfulnessInput>>

The value of metric_inputs if it holds a QuestionAnsweringHelpfulnessInput, None if the field is not set or holds a different branch.

Source

pub fn set_question_answering_helpfulness_input<T: Into<Box<QuestionAnsweringHelpfulnessInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a QuestionAnsweringHelpfulnessInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::QuestionAnsweringHelpfulnessInput;
let x = EvaluateInstancesRequest::new().set_question_answering_helpfulness_input(QuestionAnsweringHelpfulnessInput::default()/* use setters */);
assert!(x.question_answering_helpfulness_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn question_answering_correctness_input( &self, ) -> Option<&Box<QuestionAnsweringCorrectnessInput>>

The value of metric_inputs if it holds a QuestionAnsweringCorrectnessInput, None if the field is not set or holds a different branch.

Source

pub fn set_question_answering_correctness_input<T: Into<Box<QuestionAnsweringCorrectnessInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a QuestionAnsweringCorrectnessInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::QuestionAnsweringCorrectnessInput;
let x = EvaluateInstancesRequest::new().set_question_answering_correctness_input(QuestionAnsweringCorrectnessInput::default()/* use setters */);
assert!(x.question_answering_correctness_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn pointwise_metric_input(&self) -> Option<&Box<PointwiseMetricInput>>

The value of metric_inputs if it holds a PointwiseMetricInput, None if the field is not set or holds a different branch.

Source

pub fn set_pointwise_metric_input<T: Into<Box<PointwiseMetricInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a PointwiseMetricInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::PointwiseMetricInput;
let x = EvaluateInstancesRequest::new().set_pointwise_metric_input(PointwiseMetricInput::default()/* use setters */);
assert!(x.pointwise_metric_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn pairwise_metric_input(&self) -> Option<&Box<PairwiseMetricInput>>

The value of metric_inputs if it holds a PairwiseMetricInput, None if the field is not set or holds a different branch.

Source

pub fn set_pairwise_metric_input<T: Into<Box<PairwiseMetricInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a PairwiseMetricInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::PairwiseMetricInput;
let x = EvaluateInstancesRequest::new().set_pairwise_metric_input(PairwiseMetricInput::default()/* use setters */);
assert!(x.pairwise_metric_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn tool_call_valid_input(&self) -> Option<&Box<ToolCallValidInput>>

The value of metric_inputs if it holds a ToolCallValidInput, None if the field is not set or holds a different branch.

Source

pub fn set_tool_call_valid_input<T: Into<Box<ToolCallValidInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a ToolCallValidInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ToolCallValidInput;
let x = EvaluateInstancesRequest::new().set_tool_call_valid_input(ToolCallValidInput::default()/* use setters */);
assert!(x.tool_call_valid_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn tool_name_match_input(&self) -> Option<&Box<ToolNameMatchInput>>

The value of metric_inputs if it holds a ToolNameMatchInput, None if the field is not set or holds a different branch.

Source

pub fn set_tool_name_match_input<T: Into<Box<ToolNameMatchInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a ToolNameMatchInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ToolNameMatchInput;
let x = EvaluateInstancesRequest::new().set_tool_name_match_input(ToolNameMatchInput::default()/* use setters */);
assert!(x.tool_name_match_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn tool_parameter_key_match_input( &self, ) -> Option<&Box<ToolParameterKeyMatchInput>>

The value of metric_inputs if it holds a ToolParameterKeyMatchInput, None if the field is not set or holds a different branch.

Source

pub fn set_tool_parameter_key_match_input<T: Into<Box<ToolParameterKeyMatchInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a ToolParameterKeyMatchInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ToolParameterKeyMatchInput;
let x = EvaluateInstancesRequest::new().set_tool_parameter_key_match_input(ToolParameterKeyMatchInput::default()/* use setters */);
assert!(x.tool_parameter_key_match_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn tool_parameter_kv_match_input( &self, ) -> Option<&Box<ToolParameterKVMatchInput>>

The value of metric_inputs if it holds a ToolParameterKvMatchInput, None if the field is not set or holds a different branch.

Source

pub fn set_tool_parameter_kv_match_input<T: Into<Box<ToolParameterKVMatchInput>>>( self, v: T, ) -> Self

Sets the value of metric_inputs to hold a ToolParameterKvMatchInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::ToolParameterKVMatchInput;
let x = EvaluateInstancesRequest::new().set_tool_parameter_kv_match_input(ToolParameterKVMatchInput::default()/* use setters */);
assert!(x.tool_parameter_kv_match_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.comet_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn comet_input(&self) -> Option<&Box<CometInput>>

The value of metric_inputs if it holds a CometInput, None if the field is not set or holds a different branch.

Source

pub fn set_comet_input<T: Into<Box<CometInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a CometInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::CometInput;
let x = EvaluateInstancesRequest::new().set_comet_input(CometInput::default()/* use setters */);
assert!(x.comet_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.metricx_input().is_none());
Source

pub fn metricx_input(&self) -> Option<&Box<MetricxInput>>

The value of metric_inputs if it holds a MetricxInput, None if the field is not set or holds a different branch.

Source

pub fn set_metricx_input<T: Into<Box<MetricxInput>>>(self, v: T) -> Self

Sets the value of metric_inputs to hold a MetricxInput.

Note that all the setters affecting metric_inputs are mutually exclusive.

§Example
use google_cloud_aiplatform_v1::model::MetricxInput;
let x = EvaluateInstancesRequest::new().set_metricx_input(MetricxInput::default()/* use setters */);
assert!(x.metricx_input().is_some());
assert!(x.exact_match_input().is_none());
assert!(x.bleu_input().is_none());
assert!(x.rouge_input().is_none());
assert!(x.fluency_input().is_none());
assert!(x.coherence_input().is_none());
assert!(x.safety_input().is_none());
assert!(x.groundedness_input().is_none());
assert!(x.fulfillment_input().is_none());
assert!(x.summarization_quality_input().is_none());
assert!(x.pairwise_summarization_quality_input().is_none());
assert!(x.summarization_helpfulness_input().is_none());
assert!(x.summarization_verbosity_input().is_none());
assert!(x.question_answering_quality_input().is_none());
assert!(x.pairwise_question_answering_quality_input().is_none());
assert!(x.question_answering_relevance_input().is_none());
assert!(x.question_answering_helpfulness_input().is_none());
assert!(x.question_answering_correctness_input().is_none());
assert!(x.pointwise_metric_input().is_none());
assert!(x.pairwise_metric_input().is_none());
assert!(x.tool_call_valid_input().is_none());
assert!(x.tool_name_match_input().is_none());
assert!(x.tool_parameter_key_match_input().is_none());
assert!(x.tool_parameter_kv_match_input().is_none());
assert!(x.comet_input().is_none());

Trait Implementations§

Source§

impl Clone for EvaluateInstancesRequest

Source§

fn clone(&self) -> EvaluateInstancesRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EvaluateInstancesRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EvaluateInstancesRequest

Source§

fn default() -> EvaluateInstancesRequest

Returns the “default value” for a type. Read more
Source§

impl Message for EvaluateInstancesRequest

Source§

fn typename() -> &'static str

The typename of this message.
Source§

impl PartialEq for EvaluateInstancesRequest

Source§

fn eq(&self, other: &EvaluateInstancesRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for EvaluateInstancesRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,