Struct azure_devops_rust_api::git::models::Comment   
source · pub struct Comment {
    pub links: Option<Value>,
    pub author: Option<IdentityRef>,
    pub comment_type: Option<CommentType>,
    pub content: Option<String>,
    pub id: Option<i64>,
    pub is_deleted: Option<bool>,
    pub last_content_updated_date: Option<OffsetDateTime>,
    pub last_updated_date: Option<OffsetDateTime>,
    pub parent_comment_id: Option<i64>,
    pub published_date: Option<OffsetDateTime>,
    pub users_liked: Vec<IdentityRef>,
}Expand description
Represents a comment which is one of potentially many in a comment thread.
Fields§
§links: Option<Value>Links
comment_type: Option<CommentType>The comment type at the time of creation.
content: Option<String>The comment content.
id: Option<i64>The comment ID. IDs start at 1 and are unique to a pull request.
is_deleted: Option<bool>Whether or not this comment was soft-deleted.
last_content_updated_date: Option<OffsetDateTime>The date the comment’s content was last updated.
last_updated_date: Option<OffsetDateTime>The date the comment was last updated.
parent_comment_id: Option<i64>The ID of the parent comment. This is used for replies.
published_date: Option<OffsetDateTime>The date the comment was first published.
users_liked: Vec<IdentityRef>A list of the users who have liked this comment.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Comment
 
impl<'de> Deserialize<'de> for Comment
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Comment
 
impl PartialEq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more