Struct azure_devops_rust_api::search::models::WorkItemResult
source · pub struct WorkItemResult {
pub fields: Option<Value>,
pub hits: Vec<WorkItemHit>,
pub project: Option<Project>,
pub url: Option<String>,
}
Expand description
Defines the work item result that matched a work item search request.
Fields§
§fields: Option<Value>
A standard set of work item fields and their values.
hits: Vec<WorkItemHit>
Highlighted snippets of fields that match the search request. The list is sorted by relevance of the snippets.
project: Option<Project>
Defines the details of the project.
url: Option<String>
Reference to the work item.
Implementations§
Trait Implementations§
source§impl Clone for WorkItemResult
impl Clone for WorkItemResult
source§fn clone(&self) -> WorkItemResult
fn clone(&self) -> WorkItemResult
Returns a copy 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 WorkItemResult
impl Debug for WorkItemResult
source§impl Default for WorkItemResult
impl Default for WorkItemResult
source§fn default() -> WorkItemResult
fn default() -> WorkItemResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WorkItemResult
impl<'de> Deserialize<'de> for WorkItemResult
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 WorkItemResult
impl PartialEq for WorkItemResult
source§fn eq(&self, other: &WorkItemResult) -> bool
fn eq(&self, other: &WorkItemResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkItemResult
impl Serialize for WorkItemResult
impl StructuralPartialEq for WorkItemResult
Auto Trait Implementations§
impl RefUnwindSafe for WorkItemResult
impl Send for WorkItemResult
impl Sync for WorkItemResult
impl Unpin for WorkItemResult
impl UnwindSafe for WorkItemResult
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