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
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", default)]
pub struct IdentityRefWithVote {
    pub display_name: Option<String>,
    pub id: Option<String>,
    pub unique_name: Option<String>,
    pub url: Option<String>,
    pub image_url: Option<String>,
    pub reviewer_url: Option<String>,
    pub vote: i64,
    pub has_declined: bool,
    pub is_flagged: bool,
    pub is_required: bool,
    pub is_reapprove: bool,
    pub voted_for: Option<Vec<IdentityRefWithVote>>,
}