fetch_json_with_limit

Function fetch_json_with_limit 

Source
pub async fn fetch_json_with_limit<T: DeserializeOwned>(
    client: &Client,
    url: &str,
    max_bytes: u64,
) -> Result<T, AppError>
Expand description

JSONをサイズ上限制御の上で取得してパース