pub struct EntitySearchRequest {
pub entity_search_request_base: EntitySearchRequestBase,
pub order_by: Vec<SortOption>,
pub skip: Option<i32>,
pub top: Option<i32>,
pub include_facets: Option<bool>,
}Expand description
Base contract for search request types without scroll support.
Fields§
§entity_search_request_base: EntitySearchRequestBase§order_by: Vec<SortOption>Options for sorting search results. If set to null, the results will be returned sorted by relevance. If more than one sort option is provided, the results are sorted in the order specified in the OrderBy.
skip: Option<i32>Number of results to be skipped.
top: Option<i32>Number of results to be returned.
include_facets: Option<bool>Flag to opt for faceting in the result. Default behavior is false.
Implementations§
Trait Implementations§
Source§impl Clone for EntitySearchRequest
impl Clone for EntitySearchRequest
Source§fn clone(&self) -> EntitySearchRequest
fn clone(&self) -> EntitySearchRequest
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 EntitySearchRequest
impl Debug for EntitySearchRequest
Source§impl Default for EntitySearchRequest
impl Default for EntitySearchRequest
Source§fn default() -> EntitySearchRequest
fn default() -> EntitySearchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntitySearchRequest
impl<'de> Deserialize<'de> for EntitySearchRequest
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 EntitySearchRequest
impl PartialEq for EntitySearchRequest
Source§impl Serialize for EntitySearchRequest
impl Serialize for EntitySearchRequest
impl StructuralPartialEq for EntitySearchRequest
Auto Trait Implementations§
impl Freeze for EntitySearchRequest
impl RefUnwindSafe for EntitySearchRequest
impl Send for EntitySearchRequest
impl Sync for EntitySearchRequest
impl Unpin for EntitySearchRequest
impl UnwindSafe for EntitySearchRequest
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