pub struct Snapshot {
pub host: HostSample,
pub instances: BTreeMap<String, InstanceSample>,
pub at: u64,
}Expand description
The latest host and instance sample.
Fields§
§host: HostSample§instances: BTreeMap<String, InstanceSample>Keyed by <project>/<name>: names are unique per project only.
at: u64Unix milliseconds; 0 before the first sample.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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