Skip to main content

azure_devops/pipelines/methods/
get.rs

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