pub struct Metrics {
pub method: MetricsMethod,
pub params: MetricsParams,
}Expand description
Current values of the metrics. metrics
Fields§
§method: MetricsMethod§params: MetricsParamsImplementations§
Source§impl Metrics
impl Metrics
pub const IDENTIFIER: &'static str = "Performance.metrics"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metrics
impl<'de> Deserialize<'de> for Metrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Metrics> for BrowserProtocolEvents
impl From<Metrics> for BrowserProtocolEvents
Source§impl From<Metrics> for PerformanceEvents
impl From<Metrics> for PerformanceEvents
Source§impl TryFrom<BrowserProtocolEvents> for Metrics
impl TryFrom<BrowserProtocolEvents> for Metrics
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <Metrics as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <Metrics as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<PerformanceEvents> for Metrics
impl TryFrom<PerformanceEvents> for Metrics
Source§type Error = PerformanceEvents
type Error = PerformanceEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: PerformanceEvents,
) -> Result<Self, <Metrics as TryFrom<PerformanceEvents>>::Error>
fn try_from( e: PerformanceEvents, ) -> Result<Self, <Metrics as TryFrom<PerformanceEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
impl UnwindSafe for Metrics
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