Struct other_pocket::get::PocketItem[][src]

pub struct PocketItem {
    pub item_id: u64,
    pub given_url: Option<Url>,
    pub given_title: String,
    pub word_count: usize,
    pub excerpt: String,
    pub time_added: DateTime<Utc>,
    pub time_read: Option<DateTime<Utc>>,
    pub time_updated: DateTime<Utc>,
    pub time_favorited: Option<DateTime<Utc>>,
    pub favorite: bool,
    pub is_index: bool,
    pub is_article: bool,
    pub has_image: PocketItemHas,
    pub has_video: PocketItemHas,
    pub resolved_id: u64,
    pub resolved_title: String,
    pub resolved_url: Option<Url>,
    pub sort_id: u64,
    pub status: PocketItemStatus,
    pub tags: Option<Vec<ItemTag>>,
    pub images: Option<Vec<PocketImage>>,
    pub videos: Option<Vec<ItemVideo>>,
    pub authors: Option<Vec<ItemAuthor>>,
    pub lang: String,
    pub time_to_read: Option<u64>,
    pub domain_metadata: Option<DomainMetaData>,
    pub listen_duration_estimate: Option<u64>,
    pub image: Option<ItemImage>,
    pub amp_url: Option<Url>,
    pub top_image_url: Option<Url>,
}

Fields

item_id: u64given_url: Option<Url>given_title: Stringword_count: usizeexcerpt: Stringtime_added: DateTime<Utc>time_read: Option<DateTime<Utc>>time_updated: DateTime<Utc>time_favorited: Option<DateTime<Utc>>favorite: boolis_index: boolis_article: boolhas_image: PocketItemHashas_video: PocketItemHasresolved_id: u64resolved_title: Stringresolved_url: Option<Url>sort_id: u64status: PocketItemStatustags: Option<Vec<ItemTag>>images: Option<Vec<PocketImage>>videos: Option<Vec<ItemVideo>>authors: Option<Vec<ItemAuthor>>lang: Stringtime_to_read: Option<u64>domain_metadata: Option<DomainMetaData>listen_duration_estimate: Option<u64>image: Option<ItemImage>amp_url: Option<Url>top_image_url: Option<Url>

Trait Implementations

impl Clone for PocketItem[src]

impl Debug for PocketItem[src]

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

impl PartialEq<PocketItem> for PocketItem[src]

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