[][src]Struct ttrss_api::Attachment

pub struct Attachment {
    pub id: Value,
    pub content_url: String,
    pub content_type: String,
    pub title: String,
    pub duration: String,
    pub width: i64,
    pub height: i64,
    pub post_id: i64,
    pub extra: HashMap<String, Value>,
}

Attachment

Rust

  • get_headlines (indirectly)
  • get_article (indirectly)

TTRSS

  • getHeadlines (indirectly)
  • getArticle (indirectly)

Fields

id: Valuecontent_url: Stringcontent_type: Stringtitle: Stringduration: Stringwidth: i64height: i64post_id: i64extra: HashMap<String, Value>

Additional fields not specifically deefined in the struct

Trait Implementations

impl Clone for Attachment[src]

impl Debug for Attachment[src]

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

impl Eq for Attachment[src]

impl PartialEq<Attachment> for Attachment[src]

impl Serialize for Attachment[src]

impl StructuralEq for Attachment[src]

impl StructuralPartialEq for Attachment[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.