pub struct HttpResponsePayload {
pub status: u16,
pub headers: HashMap<String, String>,
pub body: Bytes,
}Expand description
Deserialized HTTP response from PHP worker.
Fields§
§status: u16§headers: HashMap<String, String>§body: BytesTrait Implementations§
Source§impl Debug for HttpResponsePayload
impl Debug for HttpResponsePayload
Source§impl<'de> Deserialize<'de> for HttpResponsePayload
impl<'de> Deserialize<'de> for HttpResponsePayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for HttpResponsePayload
impl RefUnwindSafe for HttpResponsePayload
impl Send for HttpResponsePayload
impl Sync for HttpResponsePayload
impl Unpin for HttpResponsePayload
impl UnsafeUnpin for HttpResponsePayload
impl UnwindSafe for HttpResponsePayload
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