#[non_exhaustive]pub struct ToolCallValidResults {
pub tool_call_valid_metric_values: Vec<ToolCallValidMetricValue>,
/* private fields */
}Available on crate feature
evaluation-service only.Expand description
Results for tool call valid 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_call_valid_metric_values: Vec<ToolCallValidMetricValue>Output only. Tool call valid metric values.
Implementations§
Source§impl ToolCallValidResults
impl ToolCallValidResults
pub fn new() -> Self
Sourcepub fn set_tool_call_valid_metric_values<T, V>(self, v: T) -> Self
pub fn set_tool_call_valid_metric_values<T, V>(self, v: T) -> Self
Sets the value of tool_call_valid_metric_values.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::ToolCallValidMetricValue;
let x = ToolCallValidResults::new()
.set_tool_call_valid_metric_values([
ToolCallValidMetricValue::default()/* use setters */,
ToolCallValidMetricValue::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for ToolCallValidResults
impl Clone for ToolCallValidResults
Source§fn clone(&self) -> ToolCallValidResults
fn clone(&self) -> ToolCallValidResults
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 ToolCallValidResults
impl Debug for ToolCallValidResults
Source§impl Default for ToolCallValidResults
impl Default for ToolCallValidResults
Source§fn default() -> ToolCallValidResults
fn default() -> ToolCallValidResults
Returns the “default value” for a type. Read more
Source§impl Message for ToolCallValidResults
impl Message for ToolCallValidResults
Source§impl PartialEq for ToolCallValidResults
impl PartialEq for ToolCallValidResults
impl StructuralPartialEq for ToolCallValidResults
Auto Trait Implementations§
impl Freeze for ToolCallValidResults
impl RefUnwindSafe for ToolCallValidResults
impl Send for ToolCallValidResults
impl Sync for ToolCallValidResults
impl Unpin for ToolCallValidResults
impl UnwindSafe for ToolCallValidResults
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