Struct azure_devops_rust_api::wit::models::WorkItemFieldUpdate
source · pub struct WorkItemFieldUpdate {
pub new_value: Option<Value>,
pub old_value: Option<Value>,
}
Expand description
Describes an update to a work item field.
Fields§
§new_value: Option<Value>
The new value of the field.
old_value: Option<Value>
The old value of the field.
Implementations§
Trait Implementations§
source§impl Clone for WorkItemFieldUpdate
impl Clone for WorkItemFieldUpdate
source§fn clone(&self) -> WorkItemFieldUpdate
fn clone(&self) -> WorkItemFieldUpdate
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 WorkItemFieldUpdate
impl Debug for WorkItemFieldUpdate
source§impl Default for WorkItemFieldUpdate
impl Default for WorkItemFieldUpdate
source§fn default() -> WorkItemFieldUpdate
fn default() -> WorkItemFieldUpdate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WorkItemFieldUpdate
impl<'de> Deserialize<'de> for WorkItemFieldUpdate
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 WorkItemFieldUpdate
impl PartialEq for WorkItemFieldUpdate
source§fn eq(&self, other: &WorkItemFieldUpdate) -> bool
fn eq(&self, other: &WorkItemFieldUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkItemFieldUpdate
impl Serialize for WorkItemFieldUpdate
impl StructuralPartialEq for WorkItemFieldUpdate
Auto Trait Implementations§
impl RefUnwindSafe for WorkItemFieldUpdate
impl Send for WorkItemFieldUpdate
impl Sync for WorkItemFieldUpdate
impl Unpin for WorkItemFieldUpdate
impl UnwindSafe for WorkItemFieldUpdate
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