pub fn captions<'a, S>(&self, client: &Client, format: S) -> Result<String>
    where
        S: Into<Option<&'a str>>,
    {
        let args = Query::with("id", self.id)
            .arg("format", format.into())
            .build();
        let res = client.get_raw("getCaptions", args)?;
        Ok(res)
    }
/// Returns the raw video captions.
Returns the raw video captions.
Returns the raw video captions .
pub fn captions<'a, S>(&self, client: &Client, format: S) -> Result<String>
    where
        S: Into<Option<&'a str>>,
    {
        let args = Query::with("id", self.id)
            .arg("format", format.into())
            .build();
        let res = client.get_raw("getCaptions", args)?;
        Ok(res)
    }
pub fn captions < ' a , S > ( & self , client : & Client , format : S ) -> Result < String > where S : Into < Option < & ' a str > > , { let args = Query :: with ( " " , self . id ) . arg ( " " , format . into ( ) ) . build ( ) ; let res = client . get_raw ( " " , args ) ? ; Ok ( res ) }
Returns the raw video captions.
Returns the raw video captions .
&self
client
&Client
format
S
&self
client
&Client
format
S