pub struct RankingOptionsBuilder(/* private fields */);Expand description
Builder for RankingOptions.
Implementations§
Source§impl RankingOptionsBuilder
impl RankingOptionsBuilder
pub fn hybrid_search(self, value: impl Into<HybridSearch>) -> Self
pub fn ranker(self, value: impl Into<Ranker>) -> Self
pub fn score_threshold(self, value: impl Into<Number>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RankingOptions
pub fn build(self) -> RankingOptions
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RankingOptionsBuilder
impl RefUnwindSafe for RankingOptionsBuilder
impl Send for RankingOptionsBuilder
impl Sync for RankingOptionsBuilder
impl Unpin for RankingOptionsBuilder
impl UnsafeUnpin for RankingOptionsBuilder
impl UnwindSafe for RankingOptionsBuilder
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