pub struct GetMetrics {
pub method: GetMetricsMethod,
pub params: GetMetricsParams,
}Expand description
Retrieve current values of run-time metrics. getMetrics
Fields§
§method: GetMetricsMethod§params: GetMetricsParamsImplementations§
Source§impl GetMetrics
impl GetMetrics
pub fn builder() -> GetMetricsBuilder
Source§impl GetMetrics
impl GetMetrics
pub const IDENTIFIER: &'static str = "Performance.getMetrics"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetMetrics
impl Clone for GetMetrics
Source§fn clone(&self) -> GetMetrics
fn clone(&self) -> GetMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResult for GetMetrics
impl CommandResult for GetMetrics
type Result = GetMetricsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetMetrics
impl Debug for GetMetrics
Source§impl<'de> Deserialize<'de> for GetMetrics
impl<'de> Deserialize<'de> for GetMetrics
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<GetMetrics> for BrowserProtocolCommands
impl From<GetMetrics> for BrowserProtocolCommands
Source§fn from(v: GetMetrics) -> Self
fn from(v: GetMetrics) -> Self
Converts to this type from the input type.
Source§impl From<GetMetrics> for Command
impl From<GetMetrics> for Command
Source§fn from(v: GetMetrics) -> Self
fn from(v: GetMetrics) -> Self
Converts to this type from the input type.
Source§impl From<GetMetrics> for PerformanceCommands
impl From<GetMetrics> for PerformanceCommands
Source§fn from(v: GetMetrics) -> Self
fn from(v: GetMetrics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetMetrics
impl PartialEq for GetMetrics
Source§impl Serialize for GetMetrics
impl Serialize for GetMetrics
Source§impl TryFrom<BrowserProtocolCommands> for GetMetrics
impl TryFrom<BrowserProtocolCommands> for GetMetrics
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetMetrics as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetMetrics as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetMetrics
impl TryFrom<Command> for GetMetrics
Source§impl TryFrom<PerformanceCommands> for GetMetrics
impl TryFrom<PerformanceCommands> for GetMetrics
Source§type Error = PerformanceCommands
type Error = PerformanceCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PerformanceCommands,
) -> Result<Self, <GetMetrics as TryFrom<PerformanceCommands>>::Error>
fn try_from( e: PerformanceCommands, ) -> Result<Self, <GetMetrics as TryFrom<PerformanceCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetMetrics
Auto Trait Implementations§
impl Freeze for GetMetrics
impl RefUnwindSafe for GetMetrics
impl Send for GetMetrics
impl Sync for GetMetrics
impl Unpin for GetMetrics
impl UnsafeUnpin for GetMetrics
impl UnwindSafe for GetMetrics
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