pub struct GetUserAnimeList { /* private fields */ }Expand description
Corresponds to the Get user anime list endpoint
Implementations§
Source§impl GetUserAnimeList
impl GetUserAnimeList
Sourcepub fn new(
user_name: String,
nsfw: bool,
fields: Option<&AnimeCommonFields>,
status: Option<UserAnimeListStatus>,
sort: Option<UserAnimeListSort>,
limit: Option<u16>,
offset: Option<u32>,
) -> Result<Self, AnimeApiError>
pub fn new( user_name: String, nsfw: bool, fields: Option<&AnimeCommonFields>, status: Option<UserAnimeListStatus>, sort: Option<UserAnimeListSort>, limit: Option<u16>, offset: Option<u32>, ) -> Result<Self, AnimeApiError>
Create a new Get user anime list query
Limit must be within [1, 1000]. Defaults to 100
Note: user_name should be the targets user name, or @me as a
shortcut for yourself. However, you can only use @me if you
have an Oauth client
Sourcepub fn builder(user_name: &str) -> GetUserAnimeListBuilder<'static>
pub fn builder(user_name: &str) -> GetUserAnimeListBuilder<'static>
Use builder pattern for building up the query with required arguments
Trait Implementations§
Source§impl Debug for GetUserAnimeList
impl Debug for GetUserAnimeList
Auto Trait Implementations§
impl Freeze for GetUserAnimeList
impl RefUnwindSafe for GetUserAnimeList
impl Send for GetUserAnimeList
impl Sync for GetUserAnimeList
impl Unpin for GetUserAnimeList
impl UnwindSafe for GetUserAnimeList
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