Struct news_flash::models::favicon::FavIcon[][src]

pub struct FavIcon {
    pub feed_id: FeedID,
    pub expires: NaiveDateTime,
    pub format: Option<String>,
    pub etag: Option<String>,
    pub source_url: Option<Url>,
    pub data: Option<Vec<u8>>,
}

Fields

feed_id: FeedIDexpires: NaiveDateTimeformat: Option<String>etag: Option<String>source_url: Option<Url>data: Option<Vec<u8>>

Implementations

impl FavIcon[src]

pub fn is_expired(&self) -> bool[src]

Trait Implementations

impl Clone for FavIcon[src]

impl Debug for FavIcon[src]

impl Eq for FavIcon[src]

impl HasTable for FavIcon[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident FavIcon[src]

type Id = &'ident FeedID

The type of this struct’s identifier. Read more

impl PartialEq<FavIcon> for FavIcon[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for FavIcon where
    (FeedID, NaiveDateTime, Option<String>, Option<String>, Option<Url>, Option<Vec<u8>>): Queryable<__ST, __DB>, 
[src]

type Row = <(FeedID, NaiveDateTime, Option<String>, Option<String>, Option<Url>, Option<Vec<u8>>) as Queryable<__ST, __DB>>::Row

The Rust type you’d like to map from. Read more

impl StructuralEq for FavIcon[src]

Auto Trait Implementations

impl RefUnwindSafe for FavIcon

impl Send for FavIcon

impl Sync for FavIcon

impl Unpin for FavIcon

impl UnwindSafe for FavIcon

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

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

impl<T> Instrument for T[src]

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

impl<T> IntoSql for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,