[][src]Enum parse_mediawiki_sql::types::ContentModel

pub enum ContentModel<'a> {
    Wikitext,
    Scribunto,
    Text,
    CSS,
    SanitizedCSS,
    JavaScript,
    JSON,
    Other(&'a str),
}

Represents the page_content_model field of the page table.

Variants

Wikitext
Scribunto
Text
CSS
SanitizedCSS
JavaScript
JSON
Other(&'a str)

Trait Implementations

impl<'a> Clone for ContentModel<'a>[src]

impl<'a> Debug for ContentModel<'a>[src]

impl<'a> Eq for ContentModel<'a>[src]

impl<'a> From<&'a str> for ContentModel<'a>[src]

impl<'a> FromSql<'a> for ContentModel<'a>[src]

impl<'a> Hash for ContentModel<'a>[src]

impl<'a> Ord for ContentModel<'a>[src]

impl<'a> PartialEq<ContentModel<'a>> for ContentModel<'a>[src]

impl<'a> PartialOrd<ContentModel<'a>> for ContentModel<'a>[src]

impl<'a> StructuralEq for ContentModel<'a>[src]

impl<'a> StructuralPartialEq for ContentModel<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ContentModel<'a>

impl<'a> Send for ContentModel<'a>

impl<'a> Sync for ContentModel<'a>

impl<'a> Unpin for ContentModel<'a>

impl<'a> UnwindSafe for ContentModel<'a>

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> 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.