pub struct GetAnimeList { /* private fields */ }Expand description
Corresponds to the Get anime list endpoint
Implementations§
Source§impl GetAnimeList
impl GetAnimeList
Sourcepub fn new<T: Into<String>>(
q: T,
nsfw: bool,
fields: Option<&AnimeCommonFields>,
limit: Option<u16>,
offset: Option<u32>,
) -> Result<Self, AnimeApiError>
pub fn new<T: Into<String>>( q: T, nsfw: bool, fields: Option<&AnimeCommonFields>, limit: Option<u16>, offset: Option<u32>, ) -> Result<Self, AnimeApiError>
Create new Get anime list query
Limit must be within [1, 100]. Defaults to 100
Sourcepub fn builder<T: Into<String>>(q: T) -> GetAnimeListBuilder<'static>
pub fn builder<T: Into<String>>(q: T) -> GetAnimeListBuilder<'static>
Use builder pattern for building up the query with required arguments
Trait Implementations§
Source§impl Debug for GetAnimeList
impl Debug for GetAnimeList
Auto Trait Implementations§
impl Freeze for GetAnimeList
impl RefUnwindSafe for GetAnimeList
impl Send for GetAnimeList
impl Sync for GetAnimeList
impl Unpin for GetAnimeList
impl UnwindSafe for GetAnimeList
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