Struct imdb_index::MediaEntity[][src]

pub struct MediaEntity { /* fields omitted */ }

A media entity is a title with optional episode and rating records.

A media entity makes it convenient to deal with the complete information of an IMDb media record. This is the default value returned by search routines such as what the Searcher provides, and can also be cheaply constructed by an Index given a Title or an IMDb ID.

Methods

impl MediaEntity
[src]

Return a reference to the underlying Title.

Return a reference to the underlying Episode, if it exists.

Return a reference to the underlying Rating, if it exists.

Trait Implementations

impl Clone for MediaEntity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MediaEntity
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for MediaEntity

impl Sync for MediaEntity