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: Infoidentifier 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: boolWhether a redirection happens or not
exts: Extsadditional arguments for extensive application
Trait Implementations§
Source§impl Debug for MetaResponse
impl Debug for MetaResponse
Source§impl Default for MetaResponse
impl Default for MetaResponse
Source§impl From<MetaRequest> for MetaResponse
impl From<MetaRequest> for MetaResponse
Source§fn from(m: MetaRequest) -> Self
fn from(m: MetaRequest) -> Self
Converts to this type from the input type.
impl Send for MetaResponse
impl Sync for MetaResponse
Auto Trait Implementations§
impl !Freeze for MetaResponse
impl !RefUnwindSafe for MetaResponse
impl Unpin for MetaResponse
impl !UnwindSafe for MetaResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more