UrlQueryParams

Struct UrlQueryParams 

Source
pub struct UrlQueryParams {
Show 39 fields pub allow_no_indices: Option<bool>, pub allow_partial_search_results: Option<bool>, pub batched_reduce_size: Option<u32>, pub ccs_minimize_roundtrips: Option<bool>, pub docvalue_fields: Option<String>, pub expand_wildcards: Option<String>, pub explain: Option<bool>, pub from: Option<u32>, pub ignore_throttled: Option<bool>, pub ignore_unavailable: Option<bool>, pub max_concurrent_shard_requests: Option<u32>, pub pre_filter_shard_size: Option<u32>, pub preference: Option<String>, pub q: Option<String>, pub request_cache: Option<bool>, pub rest_total_hits_as_int: Option<bool>, pub routing: Option<String>, pub scroll: Option<String>, pub search_type: Option<String>, pub seq_no_primary_term: Option<bool>, pub size: Option<u32>, pub sort: Option<String>, pub _source: Option<bool>, pub _source_excludes: Option<String>, pub _source_includes: Option<String>, pub stats: Option<String>, pub stored_fields: Option<String>, pub suggest_field: Option<String>, pub suggest_text: Option<String>, pub terminate_after: Option<u32>, pub timeout: Option<String>, pub track_scores: Option<bool>, pub track_total_hits: Option<bool>, pub typed_keys: Option<bool>, pub version: Option<bool>, pub human: Option<bool>, pub pretty: Option<bool>, pub filter_path: Option<String>, pub error_trace: Option<bool>,
}

Fields§

§allow_no_indices: Option<bool>§allow_partial_search_results: Option<bool>§batched_reduce_size: Option<u32>§ccs_minimize_roundtrips: Option<bool>§docvalue_fields: Option<String>§expand_wildcards: Option<String>§explain: Option<bool>§from: Option<u32>§ignore_throttled: Option<bool>§ignore_unavailable: Option<bool>§max_concurrent_shard_requests: Option<u32>§pre_filter_shard_size: Option<u32>§preference: Option<String>§q: Option<String>§request_cache: Option<bool>§rest_total_hits_as_int: Option<bool>§routing: Option<String>§scroll: Option<String>§search_type: Option<String>§seq_no_primary_term: Option<bool>§size: Option<u32>§sort: Option<String>§_source: Option<bool>§_source_excludes: Option<String>§_source_includes: Option<String>§stats: Option<String>§stored_fields: Option<String>§suggest_field: Option<String>§suggest_text: Option<String>§terminate_after: Option<u32>§timeout: Option<String>§track_scores: Option<bool>§track_total_hits: Option<bool>§typed_keys: Option<bool>§version: Option<bool>§human: Option<bool>§pretty: Option<bool>§filter_path: Option<String>§error_trace: Option<bool>

Trait Implementations§

Source§

impl Debug for UrlQueryParams

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for UrlQueryParams

Source§

fn default() -> UrlQueryParams

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for UrlQueryParams

Source§

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 Serialize for UrlQueryParams

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,