pub struct HarContent {
pub size: i64,
pub compression: Option<i64>,
pub mime_type: String,
pub text: Option<String>,
pub encoding: Option<String>,
}Expand description
HAR response content
Fields§
§size: i64Content size in bytes
compression: Option<i64>Compressed size (bytes, if compression was used)
mime_type: StringMIME type of the content
text: Option<String>Response body text (base64 encoded if encoding is specified)
encoding: Option<String>Content encoding (base64, gzip, etc.)
Trait Implementations§
Source§impl Debug for HarContent
impl Debug for HarContent
Source§impl<'de> Deserialize<'de> for HarContent
impl<'de> Deserialize<'de> for HarContent
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 HarContent
impl RefUnwindSafe for HarContent
impl Send for HarContent
impl Sync for HarContent
impl Unpin for HarContent
impl UnsafeUnpin for HarContent
impl UnwindSafe for HarContent
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