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