#[non_exhaustive]pub struct EvaluationReference {
pub operation: String,
pub evaluation: String,
pub aggregate_metrics: Option<Metrics>,
pub aggregate_metrics_exact: Option<Metrics>,
/* private fields */
}Expand description
Gives a short summary of an evaluation, and links to the evaluation itself.
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.operation: StringThe resource name of the Long Running Operation for the evaluation.
evaluation: StringThe resource name of the evaluation.
aggregate_metrics: Option<Metrics>An aggregate of the statistics for the evaluation with fuzzy matching on.
aggregate_metrics_exact: Option<Metrics>An aggregate of the statistics for the evaluation with fuzzy matching off.
Implementations§
Source§impl EvaluationReference
impl EvaluationReference
pub fn new() -> Self
Sourcepub fn set_operation<T: Into<String>>(self, v: T) -> Self
pub fn set_operation<T: Into<String>>(self, v: T) -> Self
Sets the value of operation.
Sourcepub fn set_evaluation<T: Into<String>>(self, v: T) -> Self
pub fn set_evaluation<T: Into<String>>(self, v: T) -> Self
Sets the value of evaluation.
Sourcepub fn set_aggregate_metrics<T>(self, v: T) -> Self
pub fn set_aggregate_metrics<T>(self, v: T) -> Self
Sets the value of aggregate_metrics.
Sourcepub fn set_or_clear_aggregate_metrics<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_aggregate_metrics<T>(self, v: Option<T>) -> Self
Sets or clears the value of aggregate_metrics.
Sourcepub fn set_aggregate_metrics_exact<T>(self, v: T) -> Self
pub fn set_aggregate_metrics_exact<T>(self, v: T) -> Self
Sets the value of aggregate_metrics_exact.
Sourcepub fn set_or_clear_aggregate_metrics_exact<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_aggregate_metrics_exact<T>(self, v: Option<T>) -> Self
Sets or clears the value of aggregate_metrics_exact.
Trait Implementations§
Source§impl Clone for EvaluationReference
impl Clone for EvaluationReference
Source§fn clone(&self) -> EvaluationReference
fn clone(&self) -> EvaluationReference
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 EvaluationReference
impl Debug for EvaluationReference
Source§impl Default for EvaluationReference
impl Default for EvaluationReference
Source§fn default() -> EvaluationReference
fn default() -> EvaluationReference
Returns the “default value” for a type. Read more
Source§impl Message for EvaluationReference
impl Message for EvaluationReference
Source§impl PartialEq for EvaluationReference
impl PartialEq for EvaluationReference
impl StructuralPartialEq for EvaluationReference
Auto Trait Implementations§
impl Freeze for EvaluationReference
impl RefUnwindSafe for EvaluationReference
impl Send for EvaluationReference
impl Sync for EvaluationReference
impl Unpin for EvaluationReference
impl UnwindSafe for EvaluationReference
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