[][src]Struct scoopit_api::types::Topic

pub struct Topic {
    pub id: u64,
    pub small_image_url: String,
    pub medium_image_url: String,
    pub image_url: String,
    pub large_image_url: String,
    pub description: Option<String>,
    pub name: String,
    pub short_name: String,
    pub url: String,
    pub lang: String,
    pub curated_post_count: u64,
    pub creator: Option<Box<User>>,
    pub pinned_post: Option<Post>,
    pub curated_posts: Option<Vec<Post>>,
    pub tags: Option<Vec<TopicTag>>,
    pub stats: Option<Stats>,
}

Fields

id: u64small_image_url: Stringmedium_image_url: Stringimage_url: Stringlarge_image_url: Stringdescription: Option<String>name: Stringshort_name: Stringurl: Stringlang: Stringcurated_post_count: u64creator: Option<Box<User>>pinned_post: Option<Post>curated_posts: Option<Vec<Post>>tags: Option<Vec<TopicTag>>stats: Option<Stats>

Trait Implementations

impl Debug for Topic[src]

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

impl Serialize for Topic[src]

impl TryFrom<TopicResponse> for Topic[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Topic

impl Send for Topic

impl Sync for Topic

impl Unpin for Topic

impl UnwindSafe for Topic

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.