[][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 Copy for ScopeContent
[src]

impl PartialEq<ScopeContent> for ScopeContent
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for ScopeContent
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ScopeContent
[src]

impl Serialize for ScopeContent
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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