[][src]Struct ttrss_api::Headline

pub struct Headline {
    pub id: Value,
    pub guid: String,
    pub unread: bool,
    pub marked: bool,
    pub published: bool,
    pub updated: DateTime<Utc>,
    pub is_updated: Option<bool>,
    pub comments: Option<String>,
    pub title: String,
    pub link: String,
    pub tags: Option<Vec<String>>,
    pub attachments: Option<Vec<Attachment>>,
    pub excerpt: Option<String>,
    pub content: Option<String>,
    pub labels: Option<Vec<String>>,
    pub feed_title: String,
    pub comments_count: Option<i64>,
    pub comments_link: Option<String>,
    pub always_display_attachments: Option<bool>,
    pub author: String,
    pub score: i64,
    pub note: Option<String>,
    pub lang: String,
    pub feed_id: Option<i64>,
    pub flavor_image: Option<String>,
    pub flavor_stream: Option<String>,
    pub extra: HashMap<String, Value>,
}

Single Headline

Rust

  • get_headlines (indirectly)
  • get_article (indirectly)

TTRSS

  • getHeadlines (indirectly)
  • get_article (indirectly)

Fields

id: Valueguid: Stringunread: boolmarked: boolpublished: boolupdated: DateTime<Utc>is_updated: Option<bool>comments: Option<String>title: Stringlink: Stringtags: Option<Vec<String>>attachments: Option<Vec<Attachment>>excerpt: Option<String>content: Option<String>labels: Option<Vec<String>>feed_title: Stringcomments_count: Option<i64>comments_link: Option<String>always_display_attachments: Option<bool>author: Stringscore: i64note: Option<String>lang: Stringfeed_id: Option<i64>flavor_image: Option<String>flavor_stream: Option<String>extra: HashMap<String, Value>

Additional fields not specifically deefined in the struct

Trait Implementations

impl Clone for Headline[src]

impl Debug for Headline[src]

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

impl Eq for Headline[src]

impl PartialEq<Headline> for Headline[src]

impl Serialize for Headline[src]

impl StructuralEq for Headline[src]

impl StructuralPartialEq for Headline[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

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.