pub struct WarcResponse {
pub url: Url,
pub date: DateTime<Utc>,
pub status_code: u16,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
pub ip_address: Option<String>,
}Expand description
WARC response record
Fields§
§url: UrlResponse URL
date: DateTime<Utc>Response timestamp
status_code: u16HTTP status code
headers: Vec<(String, String)>Response headers
body: Vec<u8>Response body
ip_address: Option<String>Server IP address
Implementations§
Auto Trait Implementations§
impl Freeze for WarcResponse
impl RefUnwindSafe for WarcResponse
impl Send for WarcResponse
impl Sync for WarcResponse
impl Unpin for WarcResponse
impl UnwindSafe for WarcResponse
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