pub struct WebTransportCreatedEventParamsBuilder { /* private fields */ }Expand description
Builder for WebTransportCreatedEventParams.
Implementations§
Source§impl WebTransportCreatedEventParamsBuilder
impl WebTransportCreatedEventParamsBuilder
Sourcepub fn transport_id(&mut self, value: RequestId) -> &mut Self
pub fn transport_id(&mut self, value: RequestId) -> &mut Self
WebTransport identifier.
Sourcepub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
pub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
Timestamp.
Sourcepub fn build(
&self,
) -> Result<WebTransportCreatedEventParams, WebTransportCreatedEventParamsBuilderError>
pub fn build( &self, ) -> Result<WebTransportCreatedEventParams, WebTransportCreatedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for WebTransportCreatedEventParamsBuilder
impl Clone for WebTransportCreatedEventParamsBuilder
Source§fn clone(&self) -> WebTransportCreatedEventParamsBuilder
fn clone(&self) -> WebTransportCreatedEventParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for WebTransportCreatedEventParamsBuilder
impl RefUnwindSafe for WebTransportCreatedEventParamsBuilder
impl Send for WebTransportCreatedEventParamsBuilder
impl Sync for WebTransportCreatedEventParamsBuilder
impl Unpin for WebTransportCreatedEventParamsBuilder
impl UnsafeUnpin for WebTransportCreatedEventParamsBuilder
impl UnwindSafe for WebTransportCreatedEventParamsBuilder
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