azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::repositories::models::GitCommit;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", default)]
pub struct GitBranchStats {
    pub name: Option<String>,
    pub ahead_count: i64,
    pub behind_count: i64,
    pub is_base_version: bool,
    pub commit: Option<GitCommit>,
}