[][src]Struct omdbrs::Film

pub struct Film {
    pub Title: String,
    pub Year: String,
}

Structure for holding information about a Film.

Currently only holds title and year, however to add more fields from the retrieved JSONs should be added. This should be enough, as serde_json pulls every relevant field when populating an instance of Film.

Fields

Title: StringYear: String

Trait Implementations

impl Debug for Film[src]

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

impl Serialize for Film[src]

Auto Trait Implementations

impl RefUnwindSafe for Film

impl Send for Film

impl Sync for Film

impl Unpin for Film

impl UnwindSafe for Film

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: Deserialize<'de>, 
[src]

impl<T> From<T> 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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err