Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions elasticsearch/src/http/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ impl fmt::Debug for Response {
}
}

impl Into<reqwest::Response> for Response {
fn into(self) -> reqwest::Response {
self.response
}
}

/// An exception raised by Elasticsearch.
///
/// Contains details that indicate why the exception was raised which can help to determine
Expand Down