pub struct TimedCount {
pub count: Option<i64>,
pub end_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
}Expand description
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.
This type is not used in any activity, and only used as part of another schema.
Fields§
§count: Option<i64>Approximate number of occurrences in the given time period.
end_time: Option<DateTime<Utc>>End of the time period to which count refers (excluded).
start_time: Option<DateTime<Utc>>Start of the time period to which count refers (included).
Trait Implementations§
Source§impl Clone for TimedCount
impl Clone for TimedCount
Source§fn clone(&self) -> TimedCount
fn clone(&self) -> TimedCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimedCount
impl Debug for TimedCount
Source§impl Default for TimedCount
impl Default for TimedCount
Source§fn default() -> TimedCount
fn default() -> TimedCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimedCount
impl<'de> Deserialize<'de> for TimedCount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for TimedCount
Auto Trait Implementations§
impl Freeze for TimedCount
impl RefUnwindSafe for TimedCount
impl Send for TimedCount
impl Sync for TimedCount
impl Unpin for TimedCount
impl UnsafeUnpin for TimedCount
impl UnwindSafe for TimedCount
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