pub struct PredefinedQuery {
pub has_more: Option<bool>,
pub id: Option<String>,
pub name: Option<String>,
pub results: Vec<WorkItem>,
pub url: Option<String>,
pub web_url: Option<String>,
}Expand description
Represents a single pre-defined query.
Fields§
§has_more: Option<bool>Whether or not the query returned the complete set of data or if the data was truncated.
id: Option<String>Id of the query
name: Option<String>Localized name of the query
results: Vec<WorkItem>The results of the query. This will be a set of WorkItem objects with only the ‘id’ set. The client is responsible for paging in the data as needed.
url: Option<String>REST API Url to use to retrieve results for this query
web_url: Option<String>Url to use to display a page in the browser with the results of this query
Implementations§
Trait Implementations§
Source§impl Clone for PredefinedQuery
impl Clone for PredefinedQuery
Source§fn clone(&self) -> PredefinedQuery
fn clone(&self) -> PredefinedQuery
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 PredefinedQuery
impl Debug for PredefinedQuery
Source§impl Default for PredefinedQuery
impl Default for PredefinedQuery
Source§fn default() -> PredefinedQuery
fn default() -> PredefinedQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PredefinedQuery
impl<'de> Deserialize<'de> for PredefinedQuery
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 PredefinedQuery
impl PartialEq for PredefinedQuery
Source§impl Serialize for PredefinedQuery
impl Serialize for PredefinedQuery
impl StructuralPartialEq for PredefinedQuery
Auto Trait Implementations§
impl Freeze for PredefinedQuery
impl RefUnwindSafe for PredefinedQuery
impl Send for PredefinedQuery
impl Sync for PredefinedQuery
impl Unpin for PredefinedQuery
impl UnwindSafe for PredefinedQuery
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