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

pub struct Post {
Show 32 fields 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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.