pub struct UpdateData {
pub field: String,
pub value: Value,
pub extra: BTreeMap<String, Value>,
}Expand description
Payload for item.update.
Updates a single field on a work item. The value is a dynamic JSON
value since different fields have different types.
Fields§
§field: StringName of the field being updated (e.g. “title”, “description”, “size”).
value: ValueNew value for the field.
extra: BTreeMap<String, Value>Unknown fields preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for UpdateData
impl Clone for UpdateData
Source§fn clone(&self) -> UpdateData
fn clone(&self) -> UpdateData
Returns a duplicate 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 UpdateData
impl Debug for UpdateData
Source§impl<'de> Deserialize<'de> for UpdateData
impl<'de> Deserialize<'de> for UpdateData
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 UpdateData
impl PartialEq for UpdateData
Source§impl Serialize for UpdateData
impl Serialize for UpdateData
impl Eq for UpdateData
impl StructuralPartialEq for UpdateData
Auto Trait Implementations§
impl Freeze for UpdateData
impl RefUnwindSafe for UpdateData
impl Send for UpdateData
impl Sync for UpdateData
impl Unpin for UpdateData
impl UnsafeUnpin for UpdateData
impl UnwindSafe for UpdateData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.