pub struct GraphqlMetrics {
pub total_txs_count: Gauge,
/* private fields */
}
Fields§
§total_txs_count: Gauge
Implementations§
source§impl GraphqlMetrics
impl GraphqlMetrics
pub fn graphql_observe(&self, query: &str, time: f64)
pub fn graphql_complexity_observe(&self, complexity: 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