Struct imdb_async::Client [−][src]
pub struct Client { /* fields omitted */ }
Expand description
A client to IMDB’s dataset
Implementations
Instantiates a new Client
Returns a single Title by ID.
Returns a list of Titles given a list of IDs. Missing IDs are ignored; Error::NotFound is not returned.
Streams all Titles from persistent storage. In relational database parlance, this is analogous to a tablescan.
Looks up a Movie by name and year. This is slow, as the cache is not keyed on those fields; a tablescan is performed. Returns Ok(None) if no match is found, not Error::NotFound.
Returns a single Movie by ID.
Returns a list of Movies given a list of IDs. Missing IDs are ignored; Error::NotFound is not returned.
Streams all Movies from persistnet storage. In relational database parlance, this is analogous to a tablescan.
Looks up a Show by name and year. This is slow, as the cache is not keyed on those fields; a tablescan is performed. Returns Ok(None) if not match is found, not Error::NotFound.
Returns a list of Shows given a list of IDs. Missing IDs are ignored; Error::NotFound is not returned.
Returns a map<ID, Show> given a list of IDs. Missing IDs are ignored; Error::NotFound is not returned.
Returns a map<Show ID, Vec<Episode>> given a list of Show IDs. Missing IDs are ignored; Error::NotFound is not returned.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more