pub struct EventReport {
pub counters: Option<EventState>,
pub entity_counters: Vec<EntitySummary>,
}Expand description
EventReport Event/counter report; storage snapshot types live in snapshot/storage modules.
Fields§
§counters: Option<EventState>Ephemeral runtime counters since since_ms.
entity_counters: Vec<EntitySummary>Per-entity ephemeral counters and averages.
Trait Implementations§
Source§impl CandidType for EventReport
impl CandidType for EventReport
Source§impl Clone for EventReport
impl Clone for EventReport
Source§fn clone(&self) -> EventReport
fn clone(&self) -> EventReport
Returns a duplicate 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 EventReport
impl Debug for EventReport
Source§impl Default for EventReport
impl Default for EventReport
Source§fn default() -> EventReport
fn default() -> EventReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventReport
impl<'de> Deserialize<'de> for EventReport
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
Auto Trait Implementations§
impl Freeze for EventReport
impl RefUnwindSafe for EventReport
impl Send for EventReport
impl Sync for EventReport
impl Unpin for EventReport
impl UnwindSafe for EventReport
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