pub struct WorkItemCommentVersionRef {
pub work_item_tracking_resource_reference: WorkItemTrackingResourceReference,
pub comment_id: Option<i32>,
pub created_in_revision: Option<i32>,
pub is_deleted: Option<bool>,
pub text: Option<String>,
pub version: Option<i32>,
}Expand description
Represents the reference to a specific version of a comment on a Work Item.
Fields§
§work_item_tracking_resource_reference: WorkItemTrackingResourceReference§comment_id: Option<i32>The id assigned to the comment.
created_in_revision: Option<i32>[Internal] The work item revision where this comment was originally added.
is_deleted: Option<bool>[Internal] Specifies whether comment was deleted.
text: Option<String>[Internal] The text of the comment.
version: Option<i32>The version number.
Implementations§
source§impl WorkItemCommentVersionRef
impl WorkItemCommentVersionRef
pub fn new( work_item_tracking_resource_reference: WorkItemTrackingResourceReference ) -> Self
Trait Implementations§
source§impl Clone for WorkItemCommentVersionRef
impl Clone for WorkItemCommentVersionRef
source§fn clone(&self) -> WorkItemCommentVersionRef
fn clone(&self) -> WorkItemCommentVersionRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WorkItemCommentVersionRef
impl Debug for WorkItemCommentVersionRef
source§impl<'de> Deserialize<'de> for WorkItemCommentVersionRef
impl<'de> Deserialize<'de> for WorkItemCommentVersionRef
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<WorkItemCommentVersionRef> for WorkItemCommentVersionRef
impl PartialEq<WorkItemCommentVersionRef> for WorkItemCommentVersionRef
source§fn eq(&self, other: &WorkItemCommentVersionRef) -> bool
fn eq(&self, other: &WorkItemCommentVersionRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.