Struct chrome_remote_interface_model::network::RequestBuilder [−][src]
Implementations
impl RequestBuilder[src]
pub fn url(&mut self, v: String) -> &mut Self[src]
Request URL (without fragment).
pub fn url_fragment(&mut self, v: String) -> &mut Self[src]
Fragment of the requested URL starting with hash, if present.
pub fn method(&mut self, v: String) -> &mut Self[src]
HTTP request method.
pub fn headers(&mut self, v: Headers) -> &mut Self[src]
HTTP request headers.
pub fn post_data(&mut self, v: String) -> &mut Self[src]
HTTP POST request data.
pub fn has_post_data(&mut self, v: bool) -> &mut Self[src]
True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
pub fn mixed_content_type(&mut self, v: MixedContentType) -> &mut Self[src]
The mixed content type of the request.
pub fn initial_priority(&mut self, v: ResourcePriority) -> &mut Self[src]
Priority of the resource request at the time request is sent.
pub fn referrer_policy(&mut self, v: RequestReferrerPolicy) -> &mut Self[src]
The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
pub fn is_link_preload(&mut self, v: bool) -> &mut Self[src]
Whether is loaded via link preload.
pub fn build(&mut self) -> Result<Request, &'static str>[src]
Trait Implementations
impl Clone for RequestBuilder[src]
fn clone(&self) -> RequestBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for RequestBuilder[src]
impl Default for RequestBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for RequestBuilder[src]
impl Send for RequestBuilder[src]
impl Sync for RequestBuilder[src]
impl Unpin for RequestBuilder[src]
impl UnwindSafe for RequestBuilder[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>,