pub struct SearchContract {
pub metric: String,
pub score_type: String,
pub normalize: String,
pub index_type: String,
pub rerank_policy: String,
}Fields§
§metric: String§score_type: String§normalize: String§index_type: String§rerank_policy: StringTrait Implementations§
Source§impl Clone for SearchContract
impl Clone for SearchContract
Source§impl Debug for SearchContract
impl Debug for SearchContract
Source§impl<'de> Deserialize<'de> for SearchContract
impl<'de> Deserialize<'de> for SearchContract
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 SearchContract
impl PartialEq for SearchContract
Source§impl Serialize for SearchContract
impl Serialize for SearchContract
impl StructuralPartialEq for SearchContract
Auto Trait Implementations§
impl Freeze for SearchContract
impl RefUnwindSafe for SearchContract
impl Send for SearchContract
impl Sync for SearchContract
impl Unpin for SearchContract
impl UnsafeUnpin for SearchContract
impl UnwindSafe for SearchContract
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