Struct fuel_core_metrics::graphql_metrics::GraphqlMetrics
source · pub struct GraphqlMetrics {
pub registry: Registry,
pub total_txs_count: Gauge,
/* private fields */
}
Fields§
§registry: Registry
§total_txs_count: Gauge
Implementations§
source§impl GraphqlMetrics
impl GraphqlMetrics
pub fn graphql_observe(&self, query: &str, time: f64)
Auto Trait Implementations§
impl Freeze for GraphqlMetrics
impl !RefUnwindSafe for GraphqlMetrics
impl Send for GraphqlMetrics
impl Sync for GraphqlMetrics
impl Unpin for GraphqlMetrics
impl !UnwindSafe for GraphqlMetrics
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