pub struct EventSeries {
pub count: Option<i32>,
pub last_observed_time: Option<MicroTime>,
}
Expand description
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
Fields§
§count: Option<i32>
Number of occurrences in this series up to the last heartbeat time
last_observed_time: Option<MicroTime>
Time of the last occurrence observed
Trait Implementations§
Source§impl Clone for EventSeries
impl Clone for EventSeries
Source§fn clone(&self) -> EventSeries
fn clone(&self) -> EventSeries
Returns a copy 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 EventSeries
impl Debug for EventSeries
Source§impl DeepMerge for EventSeries
impl DeepMerge for EventSeries
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for EventSeries
impl Default for EventSeries
Source§fn default() -> EventSeries
fn default() -> EventSeries
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSeries
impl<'de> Deserialize<'de> for EventSeries
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
Source§impl JsonSchema for EventSeries
impl JsonSchema for EventSeries
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for EventSeries
impl PartialEq for EventSeries
Source§impl Serialize for EventSeries
impl Serialize for EventSeries
impl StructuralPartialEq for EventSeries
Auto Trait Implementations§
impl Freeze for EventSeries
impl RefUnwindSafe for EventSeries
impl Send for EventSeries
impl Sync for EventSeries
impl Unpin for EventSeries
impl UnwindSafe for EventSeries
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