Struct relay_cogs::CogsMeasurement
source · pub struct CogsMeasurement {
pub resource: ResourceId,
pub feature: AppFeature,
pub value: Value,
}
Expand description
A COGS measurement.
The measurement has already been attributed to a specific feature.
Fields§
§resource: ResourceId
The measured resource.
feature: AppFeature
The measured app feature.
value: Value
The measurement value.
Trait Implementations§
source§impl Clone for CogsMeasurement
impl Clone for CogsMeasurement
source§fn clone(&self) -> CogsMeasurement
fn clone(&self) -> CogsMeasurement
Returns a copy 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 CogsMeasurement
impl Debug for CogsMeasurement
impl Copy for CogsMeasurement
Auto Trait Implementations§
impl Freeze for CogsMeasurement
impl RefUnwindSafe for CogsMeasurement
impl Send for CogsMeasurement
impl Sync for CogsMeasurement
impl Unpin for CogsMeasurement
impl UnwindSafe for CogsMeasurement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)