Struct meilisearch_sdk::features::ExperimentalFeatures
source · pub struct ExperimentalFeatures<'a> {
pub score_details: Option<bool>,
pub vector_store: Option<bool>,
/* private fields */
}Expand description
Struct representing the experimental features request.
You can build this struct using the builder pattern.
Example
let mut features = ExperimentalFeatures::new(&client);
features.set_score_details(true);Fields§
§score_details: Option<bool>§vector_store: Option<bool>Implementations§
source§impl<'a> ExperimentalFeatures<'a>
impl<'a> ExperimentalFeatures<'a>
pub fn new(client: &'a Client) -> Self
pub fn set_score_details(&mut self, score_details: bool) -> &mut Self
pub fn set_vector_store(&mut self, vector_store: bool) -> &mut Self
Trait Implementations§
source§impl<'a> Debug for ExperimentalFeatures<'a>
impl<'a> Debug for ExperimentalFeatures<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExperimentalFeatures<'a>
impl<'a> Send for ExperimentalFeatures<'a>
impl<'a> Sync for ExperimentalFeatures<'a>
impl<'a> Unpin for ExperimentalFeatures<'a>
impl<'a> UnwindSafe for ExperimentalFeatures<'a>
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