pub struct ResponseRecord {
pub status: u16,
pub headers: BTreeMap<String, String>,
pub stream: Option<StreamKind>,
pub chunks: Option<u32>,
pub bad_chunks: Option<u32>,
pub body_bytes: u64,
pub truncated: bool,
pub body: Option<Value>,
pub body_text: Option<String>,
pub digest: Option<ResponseDigest>,
}Fields§
§status: u16§headers: BTreeMap<String, String>§stream: Option<StreamKind>§chunks: Option<u32>§bad_chunks: Option<u32>§body_bytes: u64§truncated: bool§body: Option<Value>§body_text: Option<String>§digest: Option<ResponseDigest>Trait Implementations§
Source§impl Clone for ResponseRecord
impl Clone for ResponseRecord
Source§impl Debug for ResponseRecord
impl Debug for ResponseRecord
Source§impl<'de> Deserialize<'de> for ResponseRecord
impl<'de> Deserialize<'de> for ResponseRecord
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
Source§impl PartialEq for ResponseRecord
impl PartialEq for ResponseRecord
Source§impl Serialize for ResponseRecord
impl Serialize for ResponseRecord
impl StructuralPartialEq for ResponseRecord
Auto Trait Implementations§
impl Freeze for ResponseRecord
impl RefUnwindSafe for ResponseRecord
impl Send for ResponseRecord
impl Sync for ResponseRecord
impl Unpin for ResponseRecord
impl UnsafeUnpin for ResponseRecord
impl UnwindSafe for ResponseRecord
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