pub struct WorkItemQueryResult {
pub as_of: Option<DateTime<Utc>>,
pub columns: Option<Vec<WorkItemFieldReference>>,
pub sort_columns: Option<Vec<WorkItemQuerySortColumn>>,
pub work_items: Option<Vec<WorkItemReference>>,
pub work_item_relations: Option<Vec<WorkItemLink>>,
pub query_result_type: Option<QueryResultType>,
pub query_type: Option<QueryType>,
}Expand description
The result of a WIQL query.
Contains matching work item references and optional relation links.
Use the returned IDs with WorkItemsClient::get_many()
to fetch full work item details.
Fields§
§as_of: Option<DateTime<Utc>>The date/time the query was executed.
columns: Option<Vec<WorkItemFieldReference>>Column definitions in the query result.
sort_columns: Option<Vec<WorkItemQuerySortColumn>>Sort column definitions.
work_items: Option<Vec<WorkItemReference>>Matching work items (flat queries).
work_item_relations: Option<Vec<WorkItemLink>>Matching work item links (link queries).
query_result_type: Option<QueryResultType>The type of result: WorkItem or WorkItemLink.
query_type: Option<QueryType>The type of query: Flat, Tree, or OneHop.
Trait Implementations§
Source§impl Clone for WorkItemQueryResult
impl Clone for WorkItemQueryResult
Source§impl Debug for WorkItemQueryResult
impl Debug for WorkItemQueryResult
Source§impl Default for WorkItemQueryResult
impl Default for WorkItemQueryResult
Source§impl<'de> Deserialize<'de> for WorkItemQueryResultwhere
WorkItemQueryResult: Default,
impl<'de> Deserialize<'de> for WorkItemQueryResultwhere
WorkItemQueryResult: Default,
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
Auto Trait Implementations§
impl Freeze for WorkItemQueryResult
impl RefUnwindSafe for WorkItemQueryResult
impl Send for WorkItemQueryResult
impl Sync for WorkItemQueryResult
impl Unpin for WorkItemQueryResult
impl UnsafeUnpin for WorkItemQueryResult
impl UnwindSafe for WorkItemQueryResult
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