Struct solana_metrics::datapoint::DataPoint [−][src]
pub struct DataPoint {
pub name: &'static str,
pub timestamp: u64,
pub fields: Vec<(&'static str, String)>,
}
Fields
name: &'static str
timestamp: u64
fields: Vec<(&'static str, String)>
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DataPoint
impl UnwindSafe for DataPoint
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more