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