pub struct OrbitMetricSample<T> {
pub id: NetId64,
pub snapshot: T,
}Expand description
One decoded metrics sample plus the Orbit id that carried it.
Fields§
§id: NetId64§snapshot: TImplementations§
Trait Implementations§
Source§impl<T: Clone> Clone for OrbitMetricSample<T>
impl<T: Clone> Clone for OrbitMetricSample<T>
Source§fn clone(&self) -> OrbitMetricSample<T>
fn clone(&self) -> OrbitMetricSample<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for OrbitMetricSample<T>where
T: Freeze,
impl<T> RefUnwindSafe for OrbitMetricSample<T>where
T: RefUnwindSafe,
impl<T> Send for OrbitMetricSample<T>where
T: Send,
impl<T> Sync for OrbitMetricSample<T>where
T: Sync,
impl<T> Unpin for OrbitMetricSample<T>where
T: Unpin,
impl<T> UnsafeUnpin for OrbitMetricSample<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for OrbitMetricSample<T>where
T: UnwindSafe,
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