Skip to main content

azure_devops/pipelines/methods/
get_run.rs

1use super::super::models::Run;
2use super::super::PipelinesClient;
3use crate::constants::ApiPath;
4use crate::error::Result;
5
6impl PipelinesClient<'_> {
7    pub async fn get_run(&self, project: &str, pid: i64, rid: i64) -> Result<Run> {
8        self.http
9            .get(&ApiPath::pipeline_run(project, pid, rid), &[])
10            .await
11    }
12}