[][src]Struct crom::WikidotInfo

pub struct WikidotInfo {
    pub title: Option<String>,
    pub rating: Option<i64>,
    pub tags: Vec<String>,
    pub wikidot_id: i64,
    pub created_at: DateTime<Utc>,
    pub revision_count: i64,
    pub created_by: Option<SearchPagesSearchPagesWikidotInfoCreatedBy>,
    pub thumbnail_url: Option<Url>,
}

Information specific to wikidot pages.

Fields

title: Option<String>

The wikidot title of the page.

rating: Option<i64>

The integer rating of the page, if present.

tags: Vec<String>

The wikidot page tags.

wikidot_id: i64

Wikidot's page ID for this page. Useful when calling wikidot's AJAX API.

created_at: DateTime<Utc>

When the page was posted to the wiki.

revision_count: i64

The number of revisions made to the page. The number is used to determine if a page was updated since the last crawl and skip it if it was.

created_by: Option<SearchPagesSearchPagesWikidotInfoCreatedBy>

The user that posted this article. Returns null if the account was deleted before the crawler got to it. This exists to provide low-level data. Prefer the attributions API to get page authors.

thumbnail_url: Option<Url>

The original URL to the uncropped thumbnail image for this page.

Trait Implementations

impl Debug for SearchPagesSearchPagesWikidotInfo[src]

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

impl PartialEq<SearchPagesSearchPagesWikidotInfo> for SearchPagesSearchPagesWikidotInfo[src]

impl StructuralPartialEq for SearchPagesSearchPagesWikidotInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]