pub struct CertificationList { /* private fields */ }Expand description
Command to list certifications
use tmdb_api::prelude::Command;
use tmdb_api::Client;
use tmdb_api::client::reqwest::ReqwestExecutor;
use tmdb_api::certification::list::CertificationList;
#[tokio::main]
async fn main() {
let client = Client::<ReqwestExecutor>::new("this-is-my-secret-token".into());
let cmd = CertificationList::tv();
let result = cmd.execute(&client).await;
match result {
Ok(res) => println!("found: {:#?}", res),
Err(err) => eprintln!("error: {:?}", err),
};
}Implementations§
Trait Implementations§
Source§impl Clone for CertificationList
impl Clone for CertificationList
Source§fn clone(&self) -> CertificationList
fn clone(&self) -> CertificationList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for CertificationList
impl Command for CertificationList
Source§impl Debug for CertificationList
impl Debug for CertificationList
Source§impl Default for CertificationList
impl Default for CertificationList
Source§fn default() -> CertificationList
fn default() -> CertificationList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CertificationList
impl RefUnwindSafe for CertificationList
impl Send for CertificationList
impl Sync for CertificationList
impl Unpin for CertificationList
impl UnwindSafe for CertificationList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more