[][src]Enum ieql::query::scope::ScopeContent

pub enum ScopeContent {
    Raw,
    Text,
}

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

impl Clone for ScopeContent[src]

impl Copy for ScopeContent[src]

impl Debug for ScopeContent[src]

impl<'de> Deserialize<'de> for ScopeContent[src]

impl Eq for ScopeContent[src]

impl Hash for ScopeContent[src]

impl PartialEq<ScopeContent> for ScopeContent[src]

impl Serialize for ScopeContent[src]

impl StructuralEq for ScopeContent[src]

impl StructuralPartialEq for ScopeContent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,