pub async fn objects_list_page<ItemType>(
    client: &ClientTestContext,
    list_url: &str,
) -> ResultsPage<ItemType>
where
    ItemType: DeserializeOwned,
{
    let mut response = client
        .make_request_with_body(
            Method::GET,
            &list_url,
            "".into(),
            StatusCode::OK,
        )
        .await
        .unwrap();

    read_json::<ResultsPage<ItemType>>(&mut response).await
}
/**
 * Fetches a page of resources from the API.
 */
Fetches a page of resources from the API.
Fetches a page of resources from the API .
pub async fn objects_list_page<ItemType>(
    client: &ClientTestContext,
    list_url: &str,
) -> ResultsPage<ItemType>
where
    ItemType: DeserializeOwned,
{
    let mut response = client
        .make_request_with_body(
            Method::GET,
            &list_url,
            "".into(),
            StatusCode::OK,
        )
        .await
        .unwrap();
    read_json::<ResultsPage<ItemType>>(&mut response).await
}
pub async fn objects_list_page < ItemType > ( client : & ClientTestContext , list_url : & str , ) -> ResultsPage < ItemType > where ItemType : DeserializeOwned , { let mut response = client . make_request_with_body ( Method :: GET , & list_url , " " . into ( ) , StatusCode :: OK , ) . await . unwrap ( ) ; read_json :: < ResultsPage < ItemType > > ( & mut response ) . await }
Fetches a page of resources from the API.
Fetches a page of resources from the API .
client
&ClientTestContext
list_url
&str
client
&ClientTestContext
list_url
&str