pub struct GetSearchResultsBuilder { /* private fields */ }Expand description
Builder for GetSearchResults.
Implementations§
Source§impl GetSearchResultsBuilder
impl GetSearchResultsBuilder
Sourcepub fn search_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn search_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Unique search session identifier.
Sourcepub fn from_index<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn from_index<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Start index of the search result to be returned.
Sourcepub fn to_index<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn to_index<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
End index of the search result to be returned.
Sourcepub fn build(&self) -> Result<GetSearchResults, GetSearchResultsBuilderError>
pub fn build(&self) -> Result<GetSearchResults, GetSearchResultsBuilderError>
Trait Implementations§
Source§impl Clone for GetSearchResultsBuilder
impl Clone for GetSearchResultsBuilder
Source§fn clone(&self) -> GetSearchResultsBuilder
fn clone(&self) -> GetSearchResultsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetSearchResultsBuilder
impl RefUnwindSafe for GetSearchResultsBuilder
impl Send for GetSearchResultsBuilder
impl Sync for GetSearchResultsBuilder
impl Unpin for GetSearchResultsBuilder
impl UnsafeUnpin for GetSearchResultsBuilder
impl UnwindSafe for GetSearchResultsBuilder
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