pub struct WebSocketClosedEventParamsBuilder { /* private fields */ }Expand description
Builder for WebSocketClosedEventParams.
Implementations§
Source§impl WebSocketClosedEventParamsBuilder
impl WebSocketClosedEventParamsBuilder
Sourcepub fn request_id(&mut self, value: RequestId) -> &mut Self
pub fn request_id(&mut self, value: RequestId) -> &mut Self
Request 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<WebSocketClosedEventParams, WebSocketClosedEventParamsBuilderError>
pub fn build( &self, ) -> Result<WebSocketClosedEventParams, WebSocketClosedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for WebSocketClosedEventParamsBuilder
impl Clone for WebSocketClosedEventParamsBuilder
Source§fn clone(&self) -> WebSocketClosedEventParamsBuilder
fn clone(&self) -> WebSocketClosedEventParamsBuilder
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 WebSocketClosedEventParamsBuilder
impl RefUnwindSafe for WebSocketClosedEventParamsBuilder
impl Send for WebSocketClosedEventParamsBuilder
impl Sync for WebSocketClosedEventParamsBuilder
impl Unpin for WebSocketClosedEventParamsBuilder
impl UnsafeUnpin for WebSocketClosedEventParamsBuilder
impl UnwindSafe for WebSocketClosedEventParamsBuilder
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