pub struct LoadingFinishedEventParamsBuilder { /* private fields */ }Expand description
Builder for LoadingFinishedEventParams.
Implementations§
Source§impl LoadingFinishedEventParamsBuilder
impl LoadingFinishedEventParamsBuilder
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 encoded_data_length(&mut self, value: JsFloat) -> &mut Self
pub fn encoded_data_length(&mut self, value: JsFloat) -> &mut Self
Total number of bytes received for this request.
Sourcepub fn build(
&self,
) -> Result<LoadingFinishedEventParams, LoadingFinishedEventParamsBuilderError>
pub fn build( &self, ) -> Result<LoadingFinishedEventParams, LoadingFinishedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for LoadingFinishedEventParamsBuilder
impl Clone for LoadingFinishedEventParamsBuilder
Source§fn clone(&self) -> LoadingFinishedEventParamsBuilder
fn clone(&self) -> LoadingFinishedEventParamsBuilder
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 LoadingFinishedEventParamsBuilder
impl RefUnwindSafe for LoadingFinishedEventParamsBuilder
impl Send for LoadingFinishedEventParamsBuilder
impl Sync for LoadingFinishedEventParamsBuilder
impl Unpin for LoadingFinishedEventParamsBuilder
impl UnsafeUnpin for LoadingFinishedEventParamsBuilder
impl UnwindSafe for LoadingFinishedEventParamsBuilder
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