pub struct ResponseReceivedEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Implementations§
Source§impl ResponseReceivedEventBuilder
impl ResponseReceivedEventBuilder
Sourcepub fn request_id(&mut self, v: RequestId) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
Request identifier.
Sourcepub fn loader_id(&mut self, v: LoaderId) -> &mut Self
pub fn loader_id(&mut self, v: LoaderId) -> &mut Self
Loader identifier. Empty string if the request is fetched from worker.
Sourcepub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
pub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
Timestamp.
Sourcepub fn type(&mut self, v: ResourceType) -> &mut Self
pub fn type(&mut self, v: ResourceType) -> &mut Self
Resource type.
pub fn build(&mut self) -> Result<ResponseReceivedEvent, &'static str>
Trait Implementations§
Source§impl Clone for ResponseReceivedEventBuilder
impl Clone for ResponseReceivedEventBuilder
Source§fn clone(&self) -> ResponseReceivedEventBuilder
fn clone(&self) -> ResponseReceivedEventBuilder
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 ResponseReceivedEventBuilder
impl Debug for ResponseReceivedEventBuilder
Auto Trait Implementations§
impl Freeze for ResponseReceivedEventBuilder
impl RefUnwindSafe for ResponseReceivedEventBuilder
impl Send for ResponseReceivedEventBuilder
impl Sync for ResponseReceivedEventBuilder
impl Unpin for ResponseReceivedEventBuilder
impl UnwindSafe for ResponseReceivedEventBuilder
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