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

impl Debug for ScopeContent
[src]

impl Serialize for ScopeContent
[src]

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

Auto Trait Implementations

Blanket Implementations

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> From for T
[src]

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> Any for T where
    T: 'static + ?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> BorrowMut for T where
    T: ?Sized
[src]

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