pub struct Analogize { /* private fields */ }
Implementations§
Source§impl Analogize
impl Analogize
pub fn new(options: AnalogizeOptions) -> Result<Self, Error>
pub fn query(&self, query: Query) -> Result<Vec<Value>, Error>
pub fn exemplars(&self, num_results: usize) -> Result<Vec<Value>, Error>
pub fn correlates( &self, query: Query, num_results: usize, ) -> Result<Vec<Value>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Analogize
impl !RefUnwindSafe for Analogize
impl Send for Analogize
impl Sync for Analogize
impl Unpin for Analogize
impl !UnwindSafe for Analogize
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