pub async fn object_get<T: DeserializeOwned>(
    client: &ClientTestContext,
    object_url: &str,
) -> T {
    let mut response = client
        .make_request_with_body(
            Method::GET,
            &object_url,
            "".into(),
            StatusCode::OK,
        )
        .await
        .unwrap();
    read_json::<T>(&mut response).await
}
/**
 * Fetches a single resource from the API.
 */
Fetches a single resource from the API.
Fetches a single resource from the API .
pub async fn object_get<T: DeserializeOwned>(
    client: &ClientTestContext,
    object_url: &str,
) -> T {
    let mut response = client
        .make_request_with_body(
            Method::GET,
            &object_url,
            "".into(),
            StatusCode::OK,
        )
        .await
        .unwrap();
    read_json::<T>(&mut response).await
}
pub async fn object_get < T : DeserializeOwned > ( client : & ClientTestContext , object_url : & str , ) -> T { let mut response = client . make_request_with_body ( Method :: GET , & object_url , " " . into ( ) , StatusCode :: OK , ) . await . unwrap ( ) ; read_json :: < T > ( & mut response ) . await }
Fetches a single resource from the API.
Fetches a single resource from the API .
client
&ClientTestContext
object_url
&str
client
&ClientTestContext
object_url
&str