#[non_exhaustive]pub struct ToolParameterKeyMatchResults {
pub tool_parameter_key_match_metric_values: Vec<ToolParameterKeyMatchMetricValue>,
/* private fields */
}Available on crate feature
evaluation-service only.Expand description
Results for tool parameter key match metric.
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.tool_parameter_key_match_metric_values: Vec<ToolParameterKeyMatchMetricValue>Output only. Tool parameter key match metric values.
Implementations§
Source§impl ToolParameterKeyMatchResults
impl ToolParameterKeyMatchResults
pub fn new() -> Self
Sourcepub fn set_tool_parameter_key_match_metric_values<T, V>(self, v: T) -> Self
pub fn set_tool_parameter_key_match_metric_values<T, V>(self, v: T) -> Self
Sets the value of tool_parameter_key_match_metric_values.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::ToolParameterKeyMatchMetricValue;
let x = ToolParameterKeyMatchResults::new()
.set_tool_parameter_key_match_metric_values([
ToolParameterKeyMatchMetricValue::default()/* use setters */,
ToolParameterKeyMatchMetricValue::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for ToolParameterKeyMatchResults
impl Clone for ToolParameterKeyMatchResults
Source§fn clone(&self) -> ToolParameterKeyMatchResults
fn clone(&self) -> ToolParameterKeyMatchResults
Returns a duplicate 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 ToolParameterKeyMatchResults
impl Debug for ToolParameterKeyMatchResults
Source§impl Default for ToolParameterKeyMatchResults
impl Default for ToolParameterKeyMatchResults
Source§fn default() -> ToolParameterKeyMatchResults
fn default() -> ToolParameterKeyMatchResults
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToolParameterKeyMatchResults
impl PartialEq for ToolParameterKeyMatchResults
Source§fn eq(&self, other: &ToolParameterKeyMatchResults) -> bool
fn eq(&self, other: &ToolParameterKeyMatchResults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolParameterKeyMatchResults
Auto Trait Implementations§
impl Freeze for ToolParameterKeyMatchResults
impl RefUnwindSafe for ToolParameterKeyMatchResults
impl Send for ToolParameterKeyMatchResults
impl Sync for ToolParameterKeyMatchResults
impl Unpin for ToolParameterKeyMatchResults
impl UnwindSafe for ToolParameterKeyMatchResults
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