Struct azure_devops_rust_api::search::models::EntitySearchResponse
source · pub struct EntitySearchResponse {
pub facets: Option<Value>,
pub info_code: Option<i32>,
}Expand description
Defines the base contract for search response.
Fields§
§facets: Option<Value>A dictionary storing an array of Filter object against each facet.
info_code: Option<i32>Numeric code indicating any additional information: 0 - Ok, 1 - Account is being reindexed, 2 - Account indexing has not started, 3 - Invalid Request, 4 - Prefix wildcard query not supported, 5 - MultiWords with code facet not supported, 6 - Account is being onboarded, 7 - Account is being onboarded or reindexed, 8 - Top value trimmed to maxresult allowed 9 - Branches are being indexed, 10 - Faceting not enabled, 11 - Work items not accessible, 19 - Phrase queries with code type filters not supported, 20 - Wildcard queries with code type filters not supported. Any other info code is used for internal purpose.
Implementations§
Trait Implementations§
source§impl Clone for EntitySearchResponse
impl Clone for EntitySearchResponse
source§fn clone(&self) -> EntitySearchResponse
fn clone(&self) -> EntitySearchResponse
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 EntitySearchResponse
impl Debug for EntitySearchResponse
source§impl Default for EntitySearchResponse
impl Default for EntitySearchResponse
source§fn default() -> EntitySearchResponse
fn default() -> EntitySearchResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EntitySearchResponse
impl<'de> Deserialize<'de> for EntitySearchResponse
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<EntitySearchResponse> for EntitySearchResponse
impl PartialEq<EntitySearchResponse> for EntitySearchResponse
source§fn eq(&self, other: &EntitySearchResponse) -> bool
fn eq(&self, other: &EntitySearchResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.