Struct worker_plus::FormData

source ·
pub struct FormData(_);
Expand description

A FormData representation of the request body, providing access to form encoded fields and files.

Implementations§

Returns the first value associated with a given key from within a FormData object.

Returns a vec of all the values associated with a given key from within a FormData object.

Returns a boolean stating whether a FormData object contains a certain key.

Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.

Sets a new value for an existing key inside a FormData object, or adds the key/value if it does not already exist.

Deletes a key/value pair from a FormData object.

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.