pub fn update_from_response(&mut self, response: &reqwest::Response) {
        self.content_type = Self::get_mime(response.headers());
        self.headers = Some(response.headers().to_owned());
        self.crawled = true;
    }
/// Function to updated Link from http response.
Function to updated Link from http response.
Function to updated Link from http response .
pub fn update_from_response(&mut self, response: &reqwest::Response) {
        self.content_type = Self::get_mime(response.headers());
        self.headers = Some(response.headers().to_owned());
        self.crawled = true;
    }
pub fn update_from_response ( & mut self , response : & reqwest :: Response ) { self . content_type = Self :: get_mime ( response . headers ( ) ) ; self . headers = Some ( response . headers ( ) . to_owned ( ) ) ; self . crawled = true ; }
Function to updated Link from http response.
Function to updated Link from http response .
&mut self
response
&reqwest::Response
&mut self
response
&reqwest::Response