pub struct WorkItem {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub comment_version_ref: Option<WorkItemCommentVersionRef>,
pub fields: Option<Value>,
pub id: Option<i32>,
pub relations: Vec<WorkItemRelation>,
pub rev: Option<i32>,
}Expand description
Describes a work item.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource§comment_version_ref: Option<WorkItemCommentVersionRef>Represents the reference to a specific version of a comment on a Work Item.
fields: Option<Value>Map of field and values for the work item.
id: Option<i32>The work item ID.
relations: Vec<WorkItemRelation>Relations of the work item.
rev: Option<i32>Revision number of the work item.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkItem
impl<'de> Deserialize<'de> for WorkItem
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
impl StructuralPartialEq for WorkItem
Auto Trait Implementations§
impl Freeze for WorkItem
impl RefUnwindSafe for WorkItem
impl Send for WorkItem
impl Sync for WorkItem
impl Unpin for WorkItem
impl UnwindSafe for WorkItem
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