pub struct MetaResponse {
    pub info: Info,
    pub parser: *const (),
    pub err_parser: Option<*const ()>,
    pub body_fn: Option<*const ()>,
    pub redirected: bool,
    pub exts: Exts,
}
Expand description

Meta Data of the Response

MetaResponse can be used to carry infomation about the worlflow and beyond

Fields

info: Info

identifier of the entity

parser: *const ()

parsing the Response when it’s done

err_parser: Option<*const ()>

parsing the Response when it failed

body_fn: Option<*const ()>

convert the Bodys from Task and Affix to make a new Body

redirected: bool

Whether a redirection happens or not

exts: Exts

additional arguments for extensive application

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more