Struct azure_devops_rust_api::wit::models::WorkItemComment
source · pub struct WorkItemComment {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub format: Option<Format>,
pub rendered_text: Option<String>,
pub revised_by: Option<IdentityReference>,
pub revised_date: Option<OffsetDateTime>,
pub revision: Option<i32>,
pub text: Option<String>,
}
Expand description
Comment on Work Item
Fields§
§work_item_tracking_resource: WorkItemTrackingResource
§format: Option<Format>
Represents the possible types for the comment format.
rendered_text: Option<String>
The text of the comment in HTML format.
revised_by: Option<IdentityReference>
§revised_date: Option<OffsetDateTime>
The date of comment.
revision: Option<i32>
The work item revision number.
text: Option<String>
The text of the comment.
Implementations§
source§impl WorkItemComment
impl WorkItemComment
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for WorkItemComment
impl Clone for WorkItemComment
source§fn clone(&self) -> WorkItemComment
fn clone(&self) -> WorkItemComment
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 WorkItemComment
impl Debug for WorkItemComment
source§impl<'de> Deserialize<'de> for WorkItemComment
impl<'de> Deserialize<'de> for WorkItemComment
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 WorkItemComment
impl PartialEq for WorkItemComment
source§fn eq(&self, other: &WorkItemComment) -> bool
fn eq(&self, other: &WorkItemComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkItemComment
impl Serialize for WorkItemComment
impl StructuralPartialEq for WorkItemComment
Auto Trait Implementations§
impl RefUnwindSafe for WorkItemComment
impl Send for WorkItemComment
impl Sync for WorkItemComment
impl Unpin for WorkItemComment
impl UnwindSafe for WorkItemComment
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