pub struct ReorderOperation {
pub ids: Vec<i32>,
pub iteration_path: Option<String>,
pub next_id: Option<i32>,
pub parent_id: Option<i32>,
pub previous_id: Option<i32>,
}Expand description
Represents a reorder request for one or more work items.
Fields§
§ids: Vec<i32>IDs of the work items to be reordered. Must be valid WorkItem Ids.
iteration_path: Option<String>IterationPath for reorder operation. This is only used when we reorder from the Iteration Backlog
next_id: Option<i32>ID of the work item that should be after the reordered items. Can use 0 to specify the end of the list.
parent_id: Option<i32>Parent ID for all of the work items involved in this operation. Can use 0 to indicate the items don’t have a parent.
previous_id: Option<i32>ID of the work item that should be before the reordered items. Can use 0 to specify the beginning of the list.
Implementations§
Trait Implementations§
Source§impl Clone for ReorderOperation
impl Clone for ReorderOperation
Source§fn clone(&self) -> ReorderOperation
fn clone(&self) -> ReorderOperation
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 ReorderOperation
impl Debug for ReorderOperation
Source§impl Default for ReorderOperation
impl Default for ReorderOperation
Source§fn default() -> ReorderOperation
fn default() -> ReorderOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReorderOperation
impl<'de> Deserialize<'de> for ReorderOperation
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 ReorderOperation
impl PartialEq for ReorderOperation
Source§impl Serialize for ReorderOperation
impl Serialize for ReorderOperation
impl StructuralPartialEq for ReorderOperation
Auto Trait Implementations§
impl Freeze for ReorderOperation
impl RefUnwindSafe for ReorderOperation
impl Send for ReorderOperation
impl Sync for ReorderOperation
impl Unpin for ReorderOperation
impl UnwindSafe for ReorderOperation
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<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more