Struct dyer::response::MetaResponse [−][src]
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 Body
s 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
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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