error[E0599]: no method named `warc_type` found for tuple `(RawRecordHeader, Vec<u8>)` in the current scope
   --> src/main.rs:110:30
    |
110 |                 let is_response = record.warc_type() == &warc::RecordType::from("response");
    |                                          ^^^^^^^^^ method not found in `(RawRecordHeader, Vec<u8>)`