pub struct EnableParams {
pub event_types: Vec<String>,
}Expand description
Previously buffered events would be reported before method returns. See also: timelineEventAdded enable
Fields§
§event_types: Vec<String>The types of event to report, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified filter overrides any previous filters, passing empty filter disables recording. Note that not all types exposed to the web platform are currently supported.
Implementations§
Trait Implementations§
Source§impl Clone for EnableParams
impl Clone for EnableParams
Source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
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 Debug for EnableParams
impl Debug for EnableParams
Source§impl<'de> Deserialize<'de> for EnableParams
impl<'de> Deserialize<'de> for EnableParams
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 PartialEq for EnableParams
impl PartialEq for EnableParams
Source§impl Serialize for EnableParams
impl Serialize for EnableParams
impl StructuralPartialEq for EnableParams
Auto Trait Implementations§
impl Freeze for EnableParams
impl RefUnwindSafe for EnableParams
impl Send for EnableParams
impl Sync for EnableParams
impl Unpin for EnableParams
impl UnsafeUnpin for EnableParams
impl UnwindSafe for EnableParams
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