Skip to main content

azure_devops/pull_requests/models/structs/
identity_ref_with_vote.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Default, Serialize, Deserialize)]
4#[serde(rename_all = "camelCase", default)]
5pub struct IdentityRefWithVote {
6    pub display_name: Option<String>,
7    pub id: Option<String>,
8    pub unique_name: Option<String>,
9    pub url: Option<String>,
10    pub image_url: Option<String>,
11    pub reviewer_url: Option<String>,
12    pub vote: i64,
13    pub has_declined: bool,
14    pub is_flagged: bool,
15    pub is_required: bool,
16    pub is_reapprove: bool,
17    pub voted_for: Option<Vec<IdentityRefWithVote>>,
18}