pub struct StatsReport {
pub collected_at: SystemTime,
pub entries: Vec<StatsEntry>,
}Fields§
§collected_at: SystemTime§entries: Vec<StatsEntry>Implementations§
Source§impl StatsReport
impl StatsReport
pub fn new(entries: Vec<StatsEntry>) -> Self
pub fn merge(self, other: StatsReport) -> Self
Trait Implementations§
Source§impl Clone for StatsReport
impl Clone for StatsReport
Source§impl Debug for StatsReport
impl Debug for StatsReport
Source§impl<'de> Deserialize<'de> for StatsReport
impl<'de> Deserialize<'de> for StatsReport
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 Display for StatsReport
impl Display for StatsReport
Auto Trait Implementations§
impl Freeze for StatsReport
impl RefUnwindSafe for StatsReport
impl Send for StatsReport
impl Sync for StatsReport
impl Unpin for StatsReport
impl UnsafeUnpin for StatsReport
impl UnwindSafe for StatsReport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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