pub fn metric_goals(mut self, input: crate::model::MetricGoal) -> Self {
            let mut v = self.metric_goals.unwrap_or_default();
            v.push(input);
            self.metric_goals = Some(v);
            self
        }
/// Appends an item to `metric_goals`.
///
/// To override the contents of this collection use [`set_metric_goals`](Self::set_metric_goals).
///
/// <p>An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.</p>
Appends an item to `metric_goals`.
To override the contents of this collection use [`set_metric_goals`](Self::set_metric_goals).

An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.
Appends an item to ` metric_goals ` . To override the contents of this collection use [ ` set_metric_goals ` ] ( Self :: set_metric_goals ) . An array of structures that defines the metrics used for the experiment and whether a higher or lower value for each metric is the goal .
pub fn metric_goals(mut self, input: crate::model::MetricGoal) -> Self {
            let mut v = self.metric_goals.unwrap_or_default();
            v.push(input);
            self.metric_goals = Some(v);
            self
        }
pub fn metric_goals ( mut self , input : crate :: model :: MetricGoal ) -> Self { let mut v = self . metric_goals . unwrap_or_default ( ) ; v . push ( input ) ; self . metric_goals = Some ( v ) ; self }
Appends an item to `metric_goals`.
Appends an item to ` metric_goals ` .
mut self
input
crate::model::MetricGoal
mut self
input
crate::model::MetricGoal