pub struct TimestampedSnapshot {
pub timestamp: DateTime<Utc>,
pub snapshot: MemorySnapshot,
}Expand description
Timestamped memory snapshot.
Fields§
§timestamp: DateTime<Utc>When the snapshot was taken.
snapshot: MemorySnapshotThe memory snapshot.
Trait Implementations§
Source§impl Clone for TimestampedSnapshot
impl Clone for TimestampedSnapshot
Source§fn clone(&self) -> TimestampedSnapshot
fn clone(&self) -> TimestampedSnapshot
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 TimestampedSnapshot
impl Debug for TimestampedSnapshot
Source§impl<'de> Deserialize<'de> for TimestampedSnapshot
impl<'de> Deserialize<'de> for TimestampedSnapshot
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 TimestampedSnapshot
impl RefUnwindSafe for TimestampedSnapshot
impl Send for TimestampedSnapshot
impl Sync for TimestampedSnapshot
impl Unpin for TimestampedSnapshot
impl UnsafeUnpin for TimestampedSnapshot
impl UnwindSafe for TimestampedSnapshot
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