Struct azure_devops_rust_api::git::models::CommentThread
source · pub struct CommentThread {
pub links: Option<Value>,
pub comments: Vec<Comment>,
pub id: Option<i32>,
pub identities: Option<Value>,
pub is_deleted: Option<bool>,
pub last_updated_date: Option<OffsetDateTime>,
pub properties: Option<PropertiesCollection>,
pub published_date: Option<OffsetDateTime>,
pub status: Option<Status>,
pub thread_context: Option<CommentThreadContext>,
}Expand description
Represents a comment thread of a pull request. A thread contains meta data about the file it was left on along with one or more comments (an initial comment and the subsequent replies).
Fields§
§links: Option<Value>Links
comments: Vec<Comment>A list of the comments.
id: Option<i32>The comment thread id.
identities: Option<Value>Set of identities related to this thread
is_deleted: Option<bool>Specify if the thread is deleted which happens when all comments are deleted.
last_updated_date: Option<OffsetDateTime>The time this thread was last updated.
properties: Option<PropertiesCollection>The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
published_date: Option<OffsetDateTime>The time this thread was published.
status: Option<Status>The status of the comment thread.
thread_context: Option<CommentThreadContext>Implementations§
source§impl CommentThread
impl CommentThread
Trait Implementations§
source§impl Clone for CommentThread
impl Clone for CommentThread
source§fn clone(&self) -> CommentThread
fn clone(&self) -> CommentThread
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CommentThread
impl Debug for CommentThread
source§impl Default for CommentThread
impl Default for CommentThread
source§fn default() -> CommentThread
fn default() -> CommentThread
source§impl<'de> Deserialize<'de> for CommentThread
impl<'de> Deserialize<'de> for CommentThread
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>,
source§impl PartialEq for CommentThread
impl PartialEq for CommentThread
source§fn eq(&self, other: &CommentThread) -> bool
fn eq(&self, other: &CommentThread) -> bool
self and other values to be equal, and is used
by ==.