Struct chromiumoxide::cdp::browser_protocol::background_service::BackgroundServiceEvent[][src]

pub struct BackgroundServiceEvent {
    pub timestamp: TimeSinceEpoch,
    pub origin: String,
    pub service_worker_registration_id: RegistrationId,
    pub service: ServiceName,
    pub event_name: String,
    pub instance_id: String,
    pub event_metadata: Vec<EventMetadata, Global>,
}

Fields

timestamp: TimeSinceEpoch

Timestamp of the event (in seconds).

origin: String

The origin this event belongs to.

service_worker_registration_id: RegistrationId

The Service Worker ID that initiated the event.

service: ServiceName

The Background Service this event belongs to.

event_name: String

A description of the event.

instance_id: String

An identifier that groups related events together.

event_metadata: Vec<EventMetadata, Global>

A list of event-specific information.

Implementations

impl BackgroundServiceEvent[src]

impl BackgroundServiceEvent[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for BackgroundServiceEvent[src]

impl Debug for BackgroundServiceEvent[src]

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

impl PartialEq<BackgroundServiceEvent> for BackgroundServiceEvent[src]

impl Serialize for BackgroundServiceEvent[src]

impl StructuralPartialEq for BackgroundServiceEvent[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,