Struct azure_devops_rust_api::wit::models::CommentVersion
source · pub struct CommentVersion {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub created_by: Option<IdentityRef>,
pub created_date: Option<OffsetDateTime>,
pub created_on_behalf_date: Option<OffsetDateTime>,
pub created_on_behalf_of: Option<IdentityRef>,
pub id: Option<i32>,
pub is_deleted: Option<bool>,
pub modified_by: Option<IdentityRef>,
pub modified_date: Option<OffsetDateTime>,
pub rendered_text: Option<String>,
pub text: Option<String>,
pub version: Option<i32>,
}
Expand description
Represents a specific version of a comment on a work item.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource
§created_by: Option<IdentityRef>
§created_date: Option<OffsetDateTime>
The creation date of the comment.
created_on_behalf_date: Option<OffsetDateTime>
Effective Date/time value for adding the comment. Can be optionally different from CreatedDate.
created_on_behalf_of: Option<IdentityRef>
§id: Option<i32>
The id assigned to the comment.
is_deleted: Option<bool>
Indicates if the comment has been deleted at this version.
modified_by: Option<IdentityRef>
§modified_date: Option<OffsetDateTime>
The modification date of the comment for this version.
rendered_text: Option<String>
The rendered content of the comment at this version.
text: Option<String>
The text of the comment at this version.
version: Option<i32>
The version number.
Implementations§
source§impl CommentVersion
impl CommentVersion
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for CommentVersion
impl Clone for CommentVersion
source§fn clone(&self) -> CommentVersion
fn clone(&self) -> CommentVersion
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 CommentVersion
impl Debug for CommentVersion
source§impl<'de> Deserialize<'de> for CommentVersion
impl<'de> Deserialize<'de> for CommentVersion
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 CommentVersion
impl PartialEq for CommentVersion
source§fn eq(&self, other: &CommentVersion) -> bool
fn eq(&self, other: &CommentVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommentVersion
impl Serialize for CommentVersion
impl StructuralPartialEq for CommentVersion
Auto Trait Implementations§
impl RefUnwindSafe for CommentVersion
impl Send for CommentVersion
impl Sync for CommentVersion
impl Unpin for CommentVersion
impl UnwindSafe for CommentVersion
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