Function rhoast_client::http::get_method
source · pub async fn get_method<T>(
res: Result<Response, Error>,
error_str: &String
) -> Result<T, Error>where
T: DeserializeOwned + HttpModel + Serialize + Debug,
pub async fn get_method<T>(
res: Result<Response, Error>,
error_str: &String
) -> Result<T, Error>where
T: DeserializeOwned + HttpModel + Serialize + Debug,