Struct chromiumoxide_cdp::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>, }
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>
A list of event-specific information.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BackgroundServiceEvent
impl Send for BackgroundServiceEvent
impl Sync for BackgroundServiceEvent
impl Unpin for BackgroundServiceEvent
impl UnwindSafe for BackgroundServiceEvent
Blanket Implementations
Mutably borrows from an owned value. Read more