Trait glean_core::traits::Datetime
source · pub trait Datetime: TestGetValue<Output = Datetime> {
// Required methods
fn set(&self, value: Option<Datetime>);
fn test_get_num_recorded_errors(&self, error: ErrorType) -> i32;
}
Expand description
A description for the DatetimeMetric
type.
When changing this trait, make sure all the operations are
implemented in the related type in ../metrics/
.