pub enum Like {
String(String),
Document(Document),
}
Expand description
Types for like
and unlike
fields
Variants§
String(String)
String/text which will be used in like
field array
Document(Document)
Struct to describe elasticsearch document which will be used in like
field array
Trait Implementations§
impl Eq for Like
impl StructuralPartialEq for Like
Auto Trait Implementations§
impl Freeze for Like
impl RefUnwindSafe for Like
impl Send for Like
impl Sync for Like
impl Unpin for Like
impl UnwindSafe for Like
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