[][src]Struct scoopit_api::types::Post

pub struct Post {
    pub id: i64,
    pub content: String,
    pub html_content: String,
    pub html_fragment: Option<String>,
    pub insight: Option<String>,
    pub html_insight: Option<String>,
    pub title: String,
    pub thanks_count: u32,
    pub reactions_count: u32,
    pub url: Option<String>,
    pub scoop_url: String,
    pub scoop_short_url: String,
    pub small_image_url: Option<String>,
    pub medium_image_url: Option<String>,
    pub image_url: Option<String>,
    pub large_image_url: Option<String>,
    pub image_width: Option<u32>,
    pub image_height: Option<u32>,
    pub image_size: Option<String>,
    pub image_position: Option<String>,
    pub tags: Option<Vec<String>>,
    pub comments_count: u32,
    pub page_views: Option<u32>,
    pub page_clicks: Option<u32>,
    pub author: Option<User>,
    pub is_user_suggestion: bool,
    pub suggested_by: Option<User>,
    pub twitter_author: Option<String>,
    pub publication_date: Option<i64>,
    pub curation_date: i64,
    pub topic_id: u64,
    pub topic: Option<Box<Topic>>,
}

Fields

id: i64content: Stringhtml_content: Stringhtml_fragment: Option<String>insight: Option<String>html_insight: Option<String>title: Stringthanks_count: u32reactions_count: u32url: Option<String>scoop_url: Stringscoop_short_url: Stringsmall_image_url: Option<String>medium_image_url: Option<String>image_url: Option<String>large_image_url: Option<String>image_width: Option<u32>image_height: Option<u32>image_size: Option<String>image_position: Option<String>tags: Option<Vec<String>>comments_count: u32page_views: Option<u32>page_clicks: Option<u32>author: Option<User>is_user_suggestion: boolsuggested_by: Option<User>twitter_author: Option<String>publication_date: Option<i64>curation_date: i64topic_id: u64topic: Option<Box<Topic>>

Trait Implementations

impl Debug for Post[src]

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

impl Serialize for Post[src]

Auto Trait Implementations

impl RefUnwindSafe for Post

impl Send for Post

impl Sync for Post

impl Unpin for Post

impl UnwindSafe for Post

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> Instrument for T[src]

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

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.