pub struct DispatchSyncEvent {
pub method: DispatchSyncEventMethod,
pub params: DispatchSyncEventParams,
}Fields§
§method: DispatchSyncEventMethod§params: DispatchSyncEventParamsImplementations§
Source§impl DispatchSyncEvent
impl DispatchSyncEvent
pub fn builder() -> DispatchSyncEventBuilder
Source§impl DispatchSyncEvent
impl DispatchSyncEvent
pub const IDENTIFIER: &'static str = "ServiceWorker.dispatchSyncEvent"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DispatchSyncEvent
impl Clone for DispatchSyncEvent
Source§fn clone(&self) -> DispatchSyncEvent
fn clone(&self) -> DispatchSyncEvent
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 CommandResult for DispatchSyncEvent
impl CommandResult for DispatchSyncEvent
type Result = DispatchSyncEventResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for DispatchSyncEvent
impl Debug for DispatchSyncEvent
Source§impl<'de> Deserialize<'de> for DispatchSyncEvent
impl<'de> Deserialize<'de> for DispatchSyncEvent
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 From<DispatchSyncEvent> for BrowserProtocolCommands
impl From<DispatchSyncEvent> for BrowserProtocolCommands
Source§fn from(v: DispatchSyncEvent) -> Self
fn from(v: DispatchSyncEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchSyncEvent> for Command
impl From<DispatchSyncEvent> for Command
Source§fn from(v: DispatchSyncEvent) -> Self
fn from(v: DispatchSyncEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchSyncEvent> for ServiceWorkerCommands
impl From<DispatchSyncEvent> for ServiceWorkerCommands
Source§fn from(v: DispatchSyncEvent) -> Self
fn from(v: DispatchSyncEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DispatchSyncEvent
impl PartialEq for DispatchSyncEvent
Source§impl Serialize for DispatchSyncEvent
impl Serialize for DispatchSyncEvent
Source§impl TryFrom<BrowserProtocolCommands> for DispatchSyncEvent
impl TryFrom<BrowserProtocolCommands> for DispatchSyncEvent
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <DispatchSyncEvent as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <DispatchSyncEvent as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for DispatchSyncEvent
impl TryFrom<Command> for DispatchSyncEvent
Source§impl TryFrom<ServiceWorkerCommands> for DispatchSyncEvent
impl TryFrom<ServiceWorkerCommands> for DispatchSyncEvent
Source§type Error = ServiceWorkerCommands
type Error = ServiceWorkerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ServiceWorkerCommands,
) -> Result<Self, <DispatchSyncEvent as TryFrom<ServiceWorkerCommands>>::Error>
fn try_from( e: ServiceWorkerCommands, ) -> Result<Self, <DispatchSyncEvent as TryFrom<ServiceWorkerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for DispatchSyncEvent
Auto Trait Implementations§
impl Freeze for DispatchSyncEvent
impl RefUnwindSafe for DispatchSyncEvent
impl Send for DispatchSyncEvent
impl Sync for DispatchSyncEvent
impl Unpin for DispatchSyncEvent
impl UnsafeUnpin for DispatchSyncEvent
impl UnwindSafe for DispatchSyncEvent
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