pub struct EnableReportingApi {
pub method: EnableReportingApiMethod,
pub params: EnableReportingApiParams,
}Expand description
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers ‘reportingApiReportAdded’ for all existing reports. enableReportingApi
Fields§
§method: EnableReportingApiMethod§params: EnableReportingApiParamsImplementations§
Source§impl EnableReportingApi
impl EnableReportingApi
pub fn builder() -> EnableReportingApiBuilder
Source§impl EnableReportingApi
impl EnableReportingApi
pub const IDENTIFIER: &'static str = "Network.enableReportingApi"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for EnableReportingApi
impl Clone for EnableReportingApi
Source§fn clone(&self) -> EnableReportingApi
fn clone(&self) -> EnableReportingApi
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 EnableReportingApi
impl CommandResult for EnableReportingApi
type Result = EnableReportingApiResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for EnableReportingApi
impl Debug for EnableReportingApi
Source§impl<'de> Deserialize<'de> for EnableReportingApi
impl<'de> Deserialize<'de> for EnableReportingApi
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<EnableReportingApi> for BrowserProtocolCommands
impl From<EnableReportingApi> for BrowserProtocolCommands
Source§fn from(v: EnableReportingApi) -> Self
fn from(v: EnableReportingApi) -> Self
Converts to this type from the input type.
Source§impl From<EnableReportingApi> for Command
impl From<EnableReportingApi> for Command
Source§fn from(v: EnableReportingApi) -> Self
fn from(v: EnableReportingApi) -> Self
Converts to this type from the input type.
Source§impl From<EnableReportingApi> for NetworkCommands
impl From<EnableReportingApi> for NetworkCommands
Source§fn from(v: EnableReportingApi) -> Self
fn from(v: EnableReportingApi) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnableReportingApi
impl PartialEq for EnableReportingApi
Source§impl Serialize for EnableReportingApi
impl Serialize for EnableReportingApi
Source§impl TryFrom<BrowserProtocolCommands> for EnableReportingApi
impl TryFrom<BrowserProtocolCommands> for EnableReportingApi
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, <EnableReportingApi as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <EnableReportingApi as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for EnableReportingApi
impl TryFrom<Command> for EnableReportingApi
Source§impl TryFrom<NetworkCommands> for EnableReportingApi
impl TryFrom<NetworkCommands> for EnableReportingApi
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <EnableReportingApi as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <EnableReportingApi as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for EnableReportingApi
Auto Trait Implementations§
impl Freeze for EnableReportingApi
impl RefUnwindSafe for EnableReportingApi
impl Send for EnableReportingApi
impl Sync for EnableReportingApi
impl Unpin for EnableReportingApi
impl UnsafeUnpin for EnableReportingApi
impl UnwindSafe for EnableReportingApi
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