pub struct GetWorkItemOptions {
pub fields: Option<Vec<String>>,
pub as_of: Option<DateTime<Utc>>,
pub expand: Option<WorkItemExpand>,
pub error_policy: Option<WorkItemErrorPolicy>,
}Fields§
§fields: Option<Vec<String>>Specific fields to return (by reference name). If None, all fields are returned.
as_of: Option<DateTime<Utc>>Return the work item as it appeared at this date/time.
expand: Option<WorkItemExpand>Expand level: relations, fields, links, or all.
error_policy: Option<WorkItemErrorPolicy>How to handle errors when fetching multiple items.
Implementations§
Source§impl GetWorkItemOptions
impl GetWorkItemOptions
pub fn to_query_params(&self) -> Vec<(String, String)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetWorkItemOptions
impl RefUnwindSafe for GetWorkItemOptions
impl Send for GetWorkItemOptions
impl Sync for GetWorkItemOptions
impl Unpin for GetWorkItemOptions
impl UnsafeUnpin for GetWorkItemOptions
impl UnwindSafe for GetWorkItemOptions
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