Skip to main content

azure_devops/builds/methods/
list_artifacts.rs

1use super::super::models::BuildArtifact;
2use super::super::BuildsClient;
3use crate::constants::ApiPath;
4use crate::error::Result;
5
6impl BuildsClient<'_> {
7    pub async fn list_artifacts(&self, project: &str, id: i64) -> Result<Vec<BuildArtifact>> {
8        self.http
9            .get(&ApiPath::build_artifacts(project, id), &[])
10            .await
11    }
12}