pub struct WebTransportCreated {
pub transport_id: RequestId,
pub url: String,
pub timestamp: MonotonicTime,
pub initiator: Option<Initiator>,
}Expand description
Fired upon WebTransport creation.
Fields§
§transport_id: RequestIdWebTransport identifier.
url: StringWebTransport request URL.
timestamp: MonotonicTimeTimestamp.
initiator: Option<Initiator>Request initiator.
Implementations§
Trait Implementations§
Source§impl Clone for WebTransportCreated
impl Clone for WebTransportCreated
Source§fn clone(&self) -> WebTransportCreated
fn clone(&self) -> WebTransportCreated
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 Debug for WebTransportCreated
impl Debug for WebTransportCreated
Source§impl<'de> Deserialize<'de> for WebTransportCreated
impl<'de> Deserialize<'de> for WebTransportCreated
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
Auto Trait Implementations§
impl Freeze for WebTransportCreated
impl RefUnwindSafe for WebTransportCreated
impl Send for WebTransportCreated
impl Sync for WebTransportCreated
impl Unpin for WebTransportCreated
impl UnsafeUnpin for WebTransportCreated
impl UnwindSafe for WebTransportCreated
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