Struct opentelemetry::sdk::metrics::data::ScopeMetrics
source · pub struct ScopeMetrics {
pub scope: InstrumentationLibrary,
pub metrics: Vec<Metric, Global>,
}
Available on crate feature
metrics
only.Expand description
A collection of metrics produced by a meter.
Fields§
§scope: InstrumentationLibrary
The Scope that the meter was created with.
metrics: Vec<Metric, Global>
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 !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