Enum goodmetrics::Observation
source · pub enum Observation {
I64(i64),
I32(i32),
U64(u64),
U32(u32),
F64(f64),
F32(f32),
}
Expand description
Individual values
Variants§
I64(i64)
an integer value
I32(i32)
an integer value
U64(u64)
an unsigned integer value
U32(u32)
an unsigned integer value
F64(f64)
a floating point value
F32(f32)
a floating point value
Trait Implementations§
source§impl Debug for Observation
impl Debug for Observation
source§impl From<&Observation> for f64
impl From<&Observation> for f64
source§fn from(value: &Observation) -> Self
fn from(value: &Observation) -> Self
Converts to this type from the input type.
source§impl From<Observation> for Value
impl From<Observation> for Value
source§fn from(value: Observation) -> Self
fn from(value: Observation) -> Self
Converts to this type from the input type.
source§impl From<Observation> for i64
impl From<Observation> for i64
source§fn from(o: Observation) -> Self
fn from(o: Observation) -> Self
Converts to this type from the input type.
source§impl From<f32> for Observation
impl From<f32> for Observation
source§impl From<f64> for Observation
impl From<f64> for Observation
source§impl From<i32> for Observation
impl From<i32> for Observation
source§impl From<i64> for Observation
impl From<i64> for Observation
source§impl From<u32> for Observation
impl From<u32> for Observation
Auto Trait Implementations§
impl Freeze for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnwindSafe for Observation
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> 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