pub struct UserBangumiFollowListParams { /* private fields */ }Expand description
Parameters for /x/space/bangumi/follow/list.
Implementations§
Source§impl UserBangumiFollowListParams
impl UserBangumiFollowListParams
Sourcepub fn with_kind(self, kind: UserBangumiFollowKind) -> Self
pub fn with_kind(self, kind: UserBangumiFollowKind) -> Self
Sets whether to fetch followed bangumi or cinema seasons.
Sourcepub fn with_page_size(self, page_size: u32) -> BpiResult<Self>
pub fn with_page_size(self, page_size: u32) -> BpiResult<Self>
Sets the page size. Bilibili accepts values from 1 to 30.
Trait Implementations§
Source§impl Clone for UserBangumiFollowListParams
impl Clone for UserBangumiFollowListParams
Source§fn clone(&self) -> UserBangumiFollowListParams
fn clone(&self) -> UserBangumiFollowListParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserBangumiFollowListParams
Source§impl Debug for UserBangumiFollowListParams
impl Debug for UserBangumiFollowListParams
impl Eq for UserBangumiFollowListParams
Source§impl PartialEq for UserBangumiFollowListParams
impl PartialEq for UserBangumiFollowListParams
Source§fn eq(&self, other: &UserBangumiFollowListParams) -> bool
fn eq(&self, other: &UserBangumiFollowListParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UserBangumiFollowListParams
Auto Trait Implementations§
impl Freeze for UserBangumiFollowListParams
impl RefUnwindSafe for UserBangumiFollowListParams
impl Send for UserBangumiFollowListParams
impl Sync for UserBangumiFollowListParams
impl Unpin for UserBangumiFollowListParams
impl UnsafeUnpin for UserBangumiFollowListParams
impl UnwindSafe for UserBangumiFollowListParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.