Struct cdp::heap_profiler::AddHeapSnapshotChunkEvent
[−]
[src]
pub struct AddHeapSnapshotChunkEvent<'a> { pub chunk: Cow<'a, str>, }
[Experimental]
Event HeapProfiler.addHeapSnapshotChunk
Domain Module: cdp::heap_profiler
Event Struct: cdp::heap_profiler::AddHeapSnapshotChunkEvent
Fields
chunk: Cow<'a, str>
Trait Implementations
impl<'a> Clone for AddHeapSnapshotChunkEvent<'a>
[src]
fn clone(&self) -> AddHeapSnapshotChunkEvent<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for AddHeapSnapshotChunkEvent<'a>
[src]
impl<'a> PartialEq for AddHeapSnapshotChunkEvent<'a>
[src]
fn eq(&self, __arg_0: &AddHeapSnapshotChunkEvent<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AddHeapSnapshotChunkEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for AddHeapSnapshotChunkEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "HeapProfiler.addHeapSnapshotChunk"
impl<'a> SerializeCdpEvent for AddHeapSnapshotChunkEvent<'a>
[src]
fn event_name(&self) -> &str
[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpEvent<'de> for AddHeapSnapshotChunkEvent<'a>
[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,