Struct whatlang::Query [] [src]

pub struct Query<'txt> {
    pub text: &'txt String,
    pub blacklist: Option<Vec<Lang>>,
    pub whitelist: Option<Vec<Lang>>,
}

Fields

Methods

impl<'txt> Query<'txt>
[src]

Trait Implementations

impl<'txt> PartialEq for Query<'txt>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'txt> Eq for Query<'txt>
[src]

impl<'txt> Debug for Query<'txt>
[src]

Formats the value using the given formatter.

impl<'txt> Clone for Query<'txt>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more