pub struct HistogramRow {Show 22 fields
pub ResourceAttributes: IndexMap<String, String>,
pub ResourceSchemaUrl: String,
pub ServiceName: String,
pub ScopeName: String,
pub ScopeVersion: String,
pub ScopeAttributes: IndexMap<String, String>,
pub ScopeDroppedAttrCount: u32,
pub ScopeSchemaUrl: String,
pub MetricName: String,
pub MetricDescription: String,
pub MetricUnit: String,
pub Attributes: IndexMap<String, String>,
pub StartTimeUnix: DateTime64<9>,
pub TimeUnix: DateTime64<9>,
pub Count: u64,
pub Sum: f64,
pub BucketCounts: Vec<u64>,
pub ExplicitBounds: Vec<f64>,
pub Flags: u32,
pub Min: f64,
pub Max: f64,
pub AggregationTemporality: i32,
}Fields§
§ResourceAttributes: IndexMap<String, String>§ResourceSchemaUrl: String§ServiceName: String§ScopeName: String§ScopeVersion: String§ScopeAttributes: IndexMap<String, String>§ScopeDroppedAttrCount: u32§ScopeSchemaUrl: String§MetricName: String§MetricDescription: String§MetricUnit: String§Attributes: IndexMap<String, String>§StartTimeUnix: DateTime64<9>§TimeUnix: DateTime64<9>§Count: u64§Sum: f64§BucketCounts: Vec<u64>§ExplicitBounds: Vec<f64>§Flags: u32§Min: f64§Max: f64§AggregationTemporality: i32Trait Implementations§
Source§impl Debug for HistogramRow
impl Debug for HistogramRow
Source§impl Row for HistogramRow
impl Row for HistogramRow
Source§const COLUMN_COUNT: Option<usize>
const COLUMN_COUNT: Option<usize>
If
Some, serialize_row and deserialize_row MUST return this number of columnsSource§fn column_names() -> Option<Vec<Cow<'static, str>>>
fn column_names() -> Option<Vec<Cow<'static, str>>>
If
Some, serialize_row and deserialize_row MUST have these namesfn deserialize_row(map: Vec<(&str, &Type, Value)>) -> Result<Self>
fn serialize_row( self, type_hints: &IndexMap<String, Type>, ) -> Result<Vec<(Cow<'static, str>, Value)>>
Auto Trait Implementations§
impl Freeze for HistogramRow
impl RefUnwindSafe for HistogramRow
impl Send for HistogramRow
impl Sync for HistogramRow
impl Unpin for HistogramRow
impl UnsafeUnpin for HistogramRow
impl UnwindSafe for HistogramRow
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request