pub struct HttpReply {
pub status: u16,
pub body: Value,
pub sent: u64,
pub recv: u64,
}Expand description
The ok payload of an answered Effect::Http. sent and recv are local wall-clock ms.
Fields§
§status: u16§body: Value§sent: u64§recv: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for HttpReply
impl<'de> Deserialize<'de> for HttpReply
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
impl StructuralPartialEq for HttpReply
Auto Trait Implementations§
impl Forget for HttpReply
impl Freeze for HttpReply
impl Move for HttpReply
impl RefUnwindSafe for HttpReply
impl Send for HttpReply
impl Sync for HttpReply
impl Unpin for HttpReply
impl UnsafeUnpin for HttpReply
impl UnwindSafe for HttpReply
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