Struct azure_devops_rust_api::wiki::models::Comment
source · pub struct Comment {Show 16 fields
pub comment_resource_reference: CommentResourceReference,
pub artifact_id: Option<String>,
pub created_by: Option<IdentityRef>,
pub created_date: Option<OffsetDateTime>,
pub id: Option<i32>,
pub is_deleted: Option<bool>,
pub mentions: Vec<CommentMention>,
pub modified_by: Option<IdentityRef>,
pub modified_date: Option<OffsetDateTime>,
pub parent_id: Option<i32>,
pub reactions: Vec<CommentReaction>,
pub rendered_text: Option<String>,
pub replies: Option<CommentList>,
pub state: Option<State>,
pub text: Option<String>,
pub version: Option<i32>,
}
Expand description
Comment on an artifact like Work Item or Wiki, etc.
Fields§
§comment_resource_reference: CommentResourceReference
§artifact_id: Option<String>
The id of the artifact this comment belongs to
created_by: Option<IdentityRef>
§created_date: Option<OffsetDateTime>
The creation date of the comment.
id: Option<i32>
The id assigned to the comment.
is_deleted: Option<bool>
Indicates if the comment has been deleted.
mentions: Vec<CommentMention>
The mentions of the comment.
modified_by: Option<IdentityRef>
§modified_date: Option<OffsetDateTime>
The last modification date of the comment.
parent_id: Option<i32>
The comment id of the parent comment, if any
reactions: Vec<CommentReaction>
The reactions on the comment.
rendered_text: Option<String>
The rendered text of the comment
replies: Option<CommentList>
Represents a list of comments.
state: Option<State>
Indicates the current state of the comment
text: Option<String>
The plaintext/markdown version of the comment
version: Option<i32>
The current version of the 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