pub struct SearchResults {
pub expand: Option<String>,
pub start_at: Option<i32>,
pub max_results: Option<i32>,
pub total: Option<i32>,
pub issues: Option<Vec<IssueBean>>,
pub warning_messages: Option<Vec<String>>,
pub names: Option<HashMap<String, String>>,
pub schema: Option<HashMap<String, JsonTypeBean>>,
}
Expand description
SearchResults : The result of a JQL search.
Fields§
§expand: Option<String>
Expand options that include additional search result details in the response.
start_at: Option<i32>
The index of the first item returned on the page.
max_results: Option<i32>
The maximum number of results that could be on the page.
total: Option<i32>
The number of results on the page.
issues: Option<Vec<IssueBean>>
The list of issues found by the search.
warning_messages: Option<Vec<String>>
Any warnings related to the JQL query.
names: Option<HashMap<String, String>>
The ID and name of each field in the search results.
schema: Option<HashMap<String, JsonTypeBean>>
The schema describing the field types in the search results.
Implementations§
Source§impl SearchResults
impl SearchResults
Sourcepub fn new() -> SearchResults
pub fn new() -> SearchResults
The result of a JQL search.
Trait Implementations§
Source§impl Clone for SearchResults
impl Clone for SearchResults
Source§fn clone(&self) -> SearchResults
fn clone(&self) -> SearchResults
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 SearchResults
impl Debug for SearchResults
Source§impl Default for SearchResults
impl Default for SearchResults
Source§fn default() -> SearchResults
fn default() -> SearchResults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchResults
impl<'de> Deserialize<'de> for SearchResults
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 SearchResults
impl PartialEq for SearchResults
Source§impl Serialize for SearchResults
impl Serialize for SearchResults
impl StructuralPartialEq for SearchResults
Auto Trait Implementations§
impl Freeze for SearchResults
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnwindSafe for SearchResults
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