pub struct Request { /* private fields */ }
Expand description

A request.

Implementations

Creates a new request with a url.

Sets the body.

Sets the request cache.

Sets the request credentials.

Sets a header.

Sets the request integrity.

Sets the request method.

Sets the request mode.

Sets the observer callback.

Sets the request redirect.

Sets the request referrer.

Sets the request referrer policy.

Sets the request abort signal.

Executes the request.

Creates a new GET Request with url.

Creates a new POST Request with url.

Creates a new PUT Request with url.

Creates a new DELETE Request with url.

Creates a new PATCH Request with url.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.