azure_devops/builds/methods/get_project_metrics.rs
1use super::super::models::BuildMetric;
2use super::super::BuildsClient;
3use crate::constants::ApiPath;
4use crate::error::Result;
5
6impl BuildsClient<'_> {
7 pub async fn get_project_metrics(&self, project: &str) -> Result<Vec<BuildMetric>> {
8 self.http.get(&ApiPath::build_metrics(project), &[]).await
9 }
10}