Struct chrome_remote_interface_model::network::RequestWillBeSentEventBuilder [−][src]
This is supported on crate features
Network
and Debugger
and Runtime
and Security
only.Implementations
impl RequestWillBeSentEventBuilder
[src]
pub fn request_id(&mut self, v: RequestId) -> &mut Self
[src]
Request identifier.
pub fn loader_id(&mut self, v: LoaderId) -> &mut Self
[src]
Loader identifier. Empty string if the request is fetched from worker.
pub fn document_url(&mut self, v: String) -> &mut Self
[src]
URL of the document this request is loaded for.
pub fn request(&mut self, v: Request) -> &mut Self
[src]
Request data.
pub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
[src]
Timestamp.
pub fn wall_time(&mut self, v: TimeSinceEpoch) -> &mut Self
[src]
Timestamp.
pub fn initiator(&mut self, v: Initiator) -> &mut Self
[src]
Request initiator.
pub fn redirect_response(&mut self, v: Response) -> &mut Self
[src]
Redirect response data.
pub fn type(&mut self, v: ResourceType) -> &mut Self
[src]
Type of this resource.
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
[src]
Frame identifier.
pub fn has_user_gesture(&mut self, v: bool) -> &mut Self
[src]
Whether the request is initiated by a user gesture. Defaults to false.
pub fn build(&mut self) -> Result<RequestWillBeSentEvent, &'static str>
[src]
Trait Implementations
impl Clone for RequestWillBeSentEventBuilder
[src]
fn clone(&self) -> RequestWillBeSentEventBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RequestWillBeSentEventBuilder
[src]
impl Default for RequestWillBeSentEventBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for RequestWillBeSentEventBuilder
[src]
impl Send for RequestWillBeSentEventBuilder
[src]
impl Sync for RequestWillBeSentEventBuilder
[src]
impl Unpin for RequestWillBeSentEventBuilder
[src]
impl UnwindSafe for RequestWillBeSentEventBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,