Expand description
Command to list genres
Fields
language: Option<String>ISO 639-1 value to display translated data for the fields that support it.
Implementations
Trait Implementations
sourceimpl Command for GenreList
impl Command for GenreList
type Output = Vec<Genre, Global>
fn path(&self) -> Cow<'static, str>
fn params(&self) -> Vec<(&'static str, Cow<'_, str>)>
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 Client
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for GenreList
impl Send for GenreList
impl Sync for GenreList
impl Unpin for GenreList
impl UnwindSafe for GenreList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more