azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
use crate::common::IdentityRef;
use crate::pull_requests::models::CommentType;
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", default)]
pub struct Comment {
    pub _links: Option<serde_json::Value>,
    pub id: Option<i64>,
    pub parent_comment_id: Option<i64>,
    pub author: Option<IdentityRef>,
    pub content: Option<String>,
    pub comment_type: Option<CommentType>,
    pub is_deleted: bool,
    pub published_date: Option<DateTime<Utc>>,
    pub last_updated_date: Option<DateTime<Utc>>,
    pub last_content_updated_date: Option<DateTime<Utc>>,
}