pub struct MetricReportDefinitionCreate {
pub metric_report_definition_type: Option<MetricReportDefinitionType>,
pub schedule: Option<ScheduleUpdate>,
pub report_actions: Option<Vec<ReportActionsEnum>>,
pub report_updates: Option<ReportUpdatesEnum>,
pub wildcards: Option<Vec<WildcardUpdate>>,
pub metric_properties: Option<Vec<String>>,
pub metrics: Option<Vec<MetricUpdate>>,
pub suppress_repeated_metric_value: Option<bool>,
pub metric_report_heartbeat_interval: Option<EdmDuration>,
pub metric_report_definition_enabled: Option<bool>,
pub report_timespan: Option<EdmDuration>,
}Expand description
Create struct corresponding to MetricReportDefinition
Fields§
§metric_report_definition_type: Option<MetricReportDefinitionType>§schedule: Option<ScheduleUpdate>§report_actions: Option<Vec<ReportActionsEnum>>§report_updates: Option<ReportUpdatesEnum>§wildcards: Option<Vec<WildcardUpdate>>§metric_properties: Option<Vec<String>>§metrics: Option<Vec<MetricUpdate>>§suppress_repeated_metric_value: Option<bool>§metric_report_heartbeat_interval: Option<EdmDuration>§metric_report_definition_enabled: Option<bool>§report_timespan: Option<EdmDuration>Implementations§
Source§impl MetricReportDefinitionCreate
impl MetricReportDefinitionCreate
pub fn builder() -> Self
pub fn build(self) -> Self
pub fn with_metric_report_definition_type( self, v: MetricReportDefinitionType, ) -> Self
pub fn with_schedule(self, v: ScheduleUpdate) -> Self
pub fn with_report_actions(self, v: Vec<ReportActionsEnum>) -> Self
pub fn with_report_updates(self, v: ReportUpdatesEnum) -> Self
pub fn with_wildcards(self, v: Vec<WildcardUpdate>) -> Self
pub fn with_metric_properties(self, v: Vec<String>) -> Self
pub fn with_metrics(self, v: Vec<MetricUpdate>) -> Self
pub fn with_suppress_repeated_metric_value(self, v: bool) -> Self
pub fn with_metric_report_heartbeat_interval(self, v: EdmDuration) -> Self
pub fn with_metric_report_definition_enabled(self, v: bool) -> Self
pub fn with_report_timespan(self, v: EdmDuration) -> Self
Trait Implementations§
Source§impl Debug for MetricReportDefinitionCreate
impl Debug for MetricReportDefinitionCreate
Auto Trait Implementations§
impl Freeze for MetricReportDefinitionCreate
impl RefUnwindSafe for MetricReportDefinitionCreate
impl Send for MetricReportDefinitionCreate
impl Sync for MetricReportDefinitionCreate
impl Unpin for MetricReportDefinitionCreate
impl UnsafeUnpin for MetricReportDefinitionCreate
impl UnwindSafe for MetricReportDefinitionCreate
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