pub struct BodyStructParser<'a> { /* private fields */ }
Expand description

An utility parser helping to find the appropriate section part from a FETCH response.

Implementations

Returns a new parser

Arguments
  • root - The root of the `BodyStructure response.

Search particular element within the bodystructure.

Arguments
  • func - The filter used to search elements within the bodystructure.

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.