pub struct WebTransportCreatedEvent {
pub transport_id: RequestId,
pub url: String,
pub timestamp: MonotonicTime,
pub initiator: Option<Initiator>,
}Expand description
Fired upon WebTransport creation.
Payload of the Network.webTransportCreated event.
Fields§
§transport_id: RequestIdWebTransport identifier.
url: StringWebTransport request URL.
timestamp: MonotonicTimeTimestamp.
initiator: Option<Initiator>Request initiator.
Trait Implementations§
Source§impl Clone for WebTransportCreatedEvent
impl Clone for WebTransportCreatedEvent
Source§impl Debug for WebTransportCreatedEvent
impl Debug for WebTransportCreatedEvent
Source§impl Default for WebTransportCreatedEvent
impl Default for WebTransportCreatedEvent
Source§impl<'de> Deserialize<'de> for WebTransportCreatedEvent
impl<'de> Deserialize<'de> for WebTransportCreatedEvent
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 Event for WebTransportCreatedEvent
impl Event for WebTransportCreatedEvent
Source§impl PartialEq for WebTransportCreatedEvent
impl PartialEq for WebTransportCreatedEvent
Source§impl Serialize for WebTransportCreatedEvent
impl Serialize for WebTransportCreatedEvent
impl StructuralPartialEq for WebTransportCreatedEvent
Auto Trait Implementations§
impl Forget for WebTransportCreatedEvent
impl Freeze for WebTransportCreatedEvent
impl RefUnwindSafe for WebTransportCreatedEvent
impl Send for WebTransportCreatedEvent
impl Sync for WebTransportCreatedEvent
impl Unpin for WebTransportCreatedEvent
impl UnsafeUnpin for WebTransportCreatedEvent
impl UnwindSafe for WebTransportCreatedEvent
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