Struct chrome_remote_interface_model::background_service::BackgroundServiceEventReceivedEvent[][src]

pub struct BackgroundServiceEventReceivedEvent { /* fields omitted */ }

Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.

Implementations

impl BackgroundServiceEventReceivedEvent[src]

pub fn new(background_service_event: BackgroundServiceEvent) -> Self[src]

pub fn background_service_event(&self) -> &BackgroundServiceEvent[src]

Methods from Deref<Target = BackgroundServiceEvent>

pub fn timestamp(&self) -> &TimeSinceEpoch[src]

Timestamp of the event (in seconds).

pub fn origin(&self) -> &str[src]

The origin this event belongs to.

pub fn service_worker_registration_id(&self) -> &RegistrationId[src]

The Service Worker ID that initiated the event.

pub fn service(&self) -> &ServiceName[src]

The Background Service this event belongs to.

pub fn event_name(&self) -> &str[src]

A description of the event.

pub fn instance_id(&self) -> &str[src]

An identifier that groups related events together.

pub fn event_metadata(&self) -> &[EventMetadata]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

A list of event-specific information.

Trait Implementations

impl Clone for BackgroundServiceEventReceivedEvent[src]

impl Debug for BackgroundServiceEventReceivedEvent[src]

impl Deref for BackgroundServiceEventReceivedEvent[src]

type Target = BackgroundServiceEvent

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for BackgroundServiceEventReceivedEvent[src]

impl Serialize for BackgroundServiceEventReceivedEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.