pub struct SumRow {Show 18 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 Value: f64,
pub Flags: u32,
pub AggregationTemporality: i32,
pub IsMonotonic: bool,
}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>§Value: f64§Flags: u32§AggregationTemporality: i32§IsMonotonic: boolTrait Implementations§
Source§impl Row for SumRow
impl Row for SumRow
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 SumRow
impl RefUnwindSafe for SumRow
impl Send for SumRow
impl Sync for SumRow
impl Unpin for SumRow
impl UnsafeUnpin for SumRow
impl UnwindSafe for SumRow
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