azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
1
2
3
4
5
6
7
8
9
10
use super::super::models::BuildLog;
use super::super::BuildsClient;
use crate::constants::ApiPath;
use crate::error::Result;

impl BuildsClient<'_> {
    pub async fn list_logs(&self, project: &str, id: i64) -> Result<Vec<BuildLog>> {
        self.http.get(&ApiPath::build_logs(project, id), &[]).await
    }
}