pub enum SearchInput {
Text(String),
Vector(Vec<f64>),
Request(Box<SearchRequest>),
}Expand description
Search input forms accepted by DatasetService::search.
Variants§
Trait Implementations§
Source§impl From<&str> for SearchInput
impl From<&str> for SearchInput
Source§impl From<SearchRequest> for SearchInput
impl From<SearchRequest> for SearchInput
Source§fn from(value: SearchRequest) -> Self
fn from(value: SearchRequest) -> Self
Converts to this type from the input type.
Source§impl From<String> for SearchInput
impl From<String> for SearchInput
Auto Trait Implementations§
impl Freeze for SearchInput
impl RefUnwindSafe for SearchInput
impl Send for SearchInput
impl Sync for SearchInput
impl Unpin for SearchInput
impl UnsafeUnpin for SearchInput
impl UnwindSafe for SearchInput
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