Struct azure_devops_rust_api::wit::models::WorkItemUpdate   
source · pub struct WorkItemUpdate {
    pub work_item_tracking_resource: WorkItemTrackingResource,
    pub fields: Option<Value>,
    pub id: Option<i32>,
    pub relations: Option<WorkItemRelationUpdates>,
    pub rev: Option<i32>,
    pub revised_by: Option<IdentityReference>,
    pub revised_date: Option<OffsetDateTime>,
    pub work_item_id: Option<i32>,
}Expand description
Describes an update to a work item.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource§fields: Option<Value>List of updates to fields.
id: Option<i32>ID of update.
relations: Option<WorkItemRelationUpdates>Describes updates to a work item’s relations.
rev: Option<i32>The revision number of work item update.
revised_by: Option<IdentityReference>§revised_date: Option<OffsetDateTime>The work item updates revision date.
work_item_id: Option<i32>The work item ID.
Implementations§
source§impl WorkItemUpdate
 
impl WorkItemUpdate
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for WorkItemUpdate
 
impl Clone for WorkItemUpdate
source§fn clone(&self) -> WorkItemUpdate
 
fn clone(&self) -> WorkItemUpdate
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 WorkItemUpdate
 
impl Debug for WorkItemUpdate
source§impl<'de> Deserialize<'de> for WorkItemUpdate
 
impl<'de> Deserialize<'de> for WorkItemUpdate
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 WorkItemUpdate
 
impl PartialEq for WorkItemUpdate
source§fn eq(&self, other: &WorkItemUpdate) -> bool
 
fn eq(&self, other: &WorkItemUpdate) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for WorkItemUpdate
 
impl Serialize for WorkItemUpdate
impl StructuralPartialEq for WorkItemUpdate
Auto Trait Implementations§
impl RefUnwindSafe for WorkItemUpdate
impl Send for WorkItemUpdate
impl Sync for WorkItemUpdate
impl Unpin for WorkItemUpdate
impl UnwindSafe for WorkItemUpdate
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