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