Struct opentelemetry_sdk::metrics::data::ScopeMetrics
source · pub struct ScopeMetrics {
pub scope: Scope,
pub metrics: Vec<Metric>,
}
Expand description
A collection of metrics produced by a meter.
Fields§
§scope: Scope
The Scope that the meter was created with.
metrics: Vec<Metric>
The list of aggregations created by the meter.
Trait Implementations§
source§impl Debug for ScopeMetrics
impl Debug for ScopeMetrics
source§impl Default for ScopeMetrics
impl Default for ScopeMetrics
source§fn default() -> ScopeMetrics
fn default() -> ScopeMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopeMetrics
impl !RefUnwindSafe for ScopeMetrics
impl Send for ScopeMetrics
impl Sync for ScopeMetrics
impl Unpin for ScopeMetrics
impl !UnwindSafe for ScopeMetrics
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