azure_devops/work_items/options/get_work_item_options.rs
1use super::super::models::{WorkItemErrorPolicy, WorkItemExpand};
2
3#[derive(Default)]
4pub struct GetWorkItemOptions {
5 /// Specific fields to return (by reference name). If `None`, all fields are returned.
6 pub fields: Option<Vec<String>>,
7 /// Return the work item as it appeared at this date/time.
8 pub as_of: Option<chrono::DateTime<chrono::Utc>>,
9 /// Expand level: relations, fields, links, or all.
10 pub expand: Option<WorkItemExpand>,
11 /// How to handle errors when fetching multiple items.
12 pub error_policy: Option<WorkItemErrorPolicy>,
13}