Struct chromiumoxide::cdp::browser_protocol::tracing::StartParams
source · pub struct StartParams {
pub buffer_usage_reporting_interval: Option<f64>,
pub transfer_mode: Option<StartTransferMode>,
pub stream_format: Option<StreamFormat>,
pub stream_compression: Option<StreamCompression>,
pub trace_config: Option<TraceConfig>,
pub perfetto_config: Option<Binary>,
pub tracing_backend: Option<TracingBackend>,
}
Expand description
Start trace events collection. start
Fields§
§buffer_usage_reporting_interval: Option<f64>
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
transfer_mode: Option<StartTransferMode>
Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to ReportEvents
).
stream_format: Option<StreamFormat>
Trace data format to use. This only applies when using ReturnAsStream
transfer mode (defaults to json
).
stream_compression: Option<StreamCompression>
Compression format to use. This only applies when using ReturnAsStream
transfer mode (defaults to none
)
trace_config: Option<TraceConfig>
§perfetto_config: Option<Binary>
Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
When specified, the parameters categories
, options
, traceConfig
are ignored.
tracing_backend: Option<TracingBackend>
Backend type (defaults to auto
)
Implementations§
source§impl StartParams
impl StartParams
pub fn builder() -> StartParamsBuilder
source§impl StartParams
impl StartParams
pub const IDENTIFIER: &'static str = "Tracing.start"
Trait Implementations§
source§impl Clone for StartParams
impl Clone for StartParams
source§fn clone(&self) -> StartParams
fn clone(&self) -> StartParams
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 StartParams
impl Command for StartParams
§type Response = StartReturns
type Response = StartReturns
The type of the response this request triggers on the chromium server
source§impl Debug for StartParams
impl Debug for StartParams
source§impl Default for StartParams
impl Default for StartParams
source§fn default() -> StartParams
fn default() -> StartParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StartParams
impl<'de> Deserialize<'de> for StartParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<StartParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StartParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for StartParams
impl Method for StartParams
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 StartParams
impl MethodType for StartParams
source§impl PartialEq for StartParams
impl PartialEq for StartParams
source§fn eq(&self, other: &StartParams) -> bool
fn eq(&self, other: &StartParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StartParams
impl Serialize for StartParams
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 StartParams
Auto Trait Implementations§
impl Freeze for StartParams
impl RefUnwindSafe for StartParams
impl Send for StartParams
impl Sync for StartParams
impl Unpin for StartParams
impl UnwindSafe for StartParams
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