[][src]Struct parse_mediawiki_sql::schemas::Page

pub struct Page<'input> {
    pub id: PageId,
    pub namespace: PageNamespace,
    pub title: PageTitle,
    pub restrictions: PageRestrictionsOld<'input>,
    pub is_redirect: bool,
    pub is_new: bool,
    pub random: NotNan<f64>,
    pub touched: Timestamp,
    pub links_updated: Option<Timestamp>,
    pub latest: u32,
    pub len: u32,
    pub content_model: Option<ContentModel<'input>>,
    pub lang: Option<&'input str>,
}

Represents the page table.

Fields

id: PageIdnamespace: PageNamespacetitle: PageTitlerestrictions: PageRestrictionsOld<'input>is_redirect: boolis_new: boolrandom: NotNan<f64>touched: Timestamplinks_updated: Option<Timestamp>latest: u32len: u32content_model: Option<ContentModel<'input>>lang: Option<&'input str>

Trait Implementations

impl<'input> Clone for Page<'input>[src]

impl<'input> Debug for Page<'input>[src]

impl<'input> Eq for Page<'input>[src]

impl<'input> FromSqlTuple<'input> for Page<'input>[src]

impl<'input> Hash for Page<'input>[src]

impl<'input> Ord for Page<'input>[src]

impl<'input> PartialEq<Page<'input>> for Page<'input>[src]

impl<'input> PartialOrd<Page<'input>> for Page<'input>[src]

impl<'input> StructuralEq for Page<'input>[src]

impl<'input> StructuralPartialEq for Page<'input>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for Page<'input>

impl<'input> Send for Page<'input>

impl<'input> Sync for Page<'input>

impl<'input> Unpin for Page<'input>

impl<'input> UnwindSafe for Page<'input>

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.