pub enum ScopeContent {
Raw,
Text,
}
Expand description
Denotes a form of text data to be passed to the query.
Variants§
Raw
The raw data—usually either HTML or utf8 extracted from web data/PDFs.
Text
Intelligently extracted text from the document. For HTML
documents, for example, the Text
is found by passing the
content through an HTML engine and extracting all the text.AsMut
Note that sometimes JavaScript text is also included.
Trait Implementations§
Source§impl Clone for ScopeContent
impl Clone for ScopeContent
Source§fn clone(&self) -> ScopeContent
fn clone(&self) -> ScopeContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScopeContent
impl Debug for ScopeContent
Source§impl<'de> Deserialize<'de> for ScopeContent
impl<'de> Deserialize<'de> for ScopeContent
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 Hash for ScopeContent
impl Hash for ScopeContent
Source§impl PartialEq for ScopeContent
impl PartialEq for ScopeContent
Source§impl Serialize for ScopeContent
impl Serialize for ScopeContent
impl Copy for ScopeContent
impl Eq for ScopeContent
impl StructuralPartialEq for ScopeContent
Auto Trait Implementations§
impl Freeze for ScopeContent
impl RefUnwindSafe for ScopeContent
impl Send for ScopeContent
impl Sync for ScopeContent
impl Unpin for ScopeContent
impl UnwindSafe for ScopeContent
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