pub fn into_parts(self) -> (Version, StatusCode, ReasonPhrase, HeaderMap, TBody) {
        (
            self.version,
            self.status_code,
            self.reason_phrase,
            self.headers,
            self.body,
        )
    }
/// Converts the response into its individual components.
///
/// # Examples
///
/// ```
/// use std::convert::TryFrom;
///
/// use rtsp::response::Response;
///
/// let response = Response::<()>::builder()
///     .with_body("")
///     .build()
///     .unwrap();
/// let (version, status_code, reason_phrase, headers, body) = response.clone().into_parts();
/// let new_response = Response::from_parts(
///     version,
///     status_code,
///     reason_phrase,
///     headers,
///     body
/// ).unwrap();
/// assert_eq!(response, new_response);
/// ```
Converts the response into its individual components.
Converts the response into its individual components .
pub fn into_parts(self) -> (Version, StatusCode, ReasonPhrase, HeaderMap, TBody) {
        (
            self.version,
            self.status_code,
            self.reason_phrase,
            self.headers,
            self.body,
        )
    }
pub fn into_parts ( self ) -> ( Version , StatusCode , ReasonPhrase , HeaderMap , TBody ) { ( self . version , self . status_code , self . reason_phrase , self . headers , self . body , ) }
Converts the response into its individual components.
Converts the response into its individual components .
self
self
examples
```
use std::convert::TryFrom.

use rtsp::response::Response.

let response = Response::<()>::builder()
.with_body("")
.build()
.unwrap();
let (version, status_code, reason_phrase, headers, body) = response.clone().into_parts();
let new_response = Response::from_parts(
version,
status_code,
reason_phrase,
headers,
body
).unwrap();
assert_eq!(response, new_response);
```
` ` ` use std :: convert :: TryFrom . use rtsp :: response :: Response . let response = Response :: < () > :: builder () . with_body ( " " ) . build () . unwrap () ; let ( version status_code reason_phrase headers body ) = response . clone () . into_parts () ; let new_response = Response :: from_parts ( version status_code reason_phrase headers body ) . unwrap () ; assert_eq! ( response new_response ) ; ` ` `