Struct chromiumoxide::cdp::browser_protocol::browser::GetHistogramsParams
source · pub struct GetHistogramsParams {
pub query: Option<String>,
pub delta: Option<bool>,
}
Expand description
Get Chrome histograms. getHistograms
Fields§
§query: Option<String>
Requested substring in name. Only histograms which have query as a substring in their name are extracted. An empty or absent query returns all histograms.
delta: Option<bool>
If true, retrieve delta since last call.
Implementations§
source§impl GetHistogramsParams
impl GetHistogramsParams
pub fn builder() -> GetHistogramsParamsBuilder
source§impl GetHistogramsParams
impl GetHistogramsParams
pub const IDENTIFIER: &'static str = "Browser.getHistograms"
Trait Implementations§
source§impl Clone for GetHistogramsParams
impl Clone for GetHistogramsParams
source§fn clone(&self) -> GetHistogramsParams
fn clone(&self) -> GetHistogramsParams
Returns a copy 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 Command for GetHistogramsParams
impl Command for GetHistogramsParams
§type Response = GetHistogramsReturns
type Response = GetHistogramsReturns
The type of the response this request triggers on the chromium server
source§impl Debug for GetHistogramsParams
impl Debug for GetHistogramsParams
source§impl Default for GetHistogramsParams
impl Default for GetHistogramsParams
source§fn default() -> GetHistogramsParams
fn default() -> GetHistogramsParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetHistogramsParams
impl<'de> Deserialize<'de> for GetHistogramsParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetHistogramsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetHistogramsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for GetHistogramsParams
impl Method for GetHistogramsParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for GetHistogramsParams
impl MethodType for GetHistogramsParams
source§impl PartialEq for GetHistogramsParams
impl PartialEq for GetHistogramsParams
source§fn eq(&self, other: &GetHistogramsParams) -> bool
fn eq(&self, other: &GetHistogramsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetHistogramsParams
impl Serialize for GetHistogramsParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetHistogramsParams
Auto Trait Implementations§
impl Freeze for GetHistogramsParams
impl RefUnwindSafe for GetHistogramsParams
impl Send for GetHistogramsParams
impl Sync for GetHistogramsParams
impl Unpin for GetHistogramsParams
impl UnwindSafe for GetHistogramsParams
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