[][src]Struct ptt_crawler::article::Article

pub struct Article {
    pub meta: Meta,
    pub content: String,
    pub reply_count: ReplyCount,
    pub replies: Vec<Reply>,
}

Article stores the parsed result of an article.

Fields

meta: Metacontent: Stringreply_count: ReplyCountreplies: Vec<Reply>

Trait Implementations

impl Clone for Article[src]

impl Debug for Article[src]

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

impl Serialize for Article[src]

Auto Trait Implementations

impl RefUnwindSafe for Article

impl Send for Article

impl Sync for Article

impl Unpin for Article

impl UnwindSafe for Article

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, U> Into<U> for T where
    U: From<T>, 
[src]

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

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err