pub struct UserFollowersParams { /* private fields */ }Expand description
Parameters for /x/relation/fans.
Implementations§
Source§impl UserFollowersParams
impl UserFollowersParams
Sourcepub fn with_page_size(self, page_size: u32) -> Self
pub fn with_page_size(self, page_size: u32) -> Self
Sets the page size.
Sourcepub fn with_offset(self, offset: impl Into<String>) -> Self
pub fn with_offset(self, offset: impl Into<String>) -> Self
Sets the pagination offset returned by Bilibili.
Sourcepub fn with_last_access_ts(self, last_access_ts: u64) -> Self
pub fn with_last_access_ts(self, last_access_ts: u64) -> Self
Sets the last-access timestamp in seconds.
Trait Implementations§
Source§impl Clone for UserFollowersParams
impl Clone for UserFollowersParams
Source§fn clone(&self) -> UserFollowersParams
fn clone(&self) -> UserFollowersParams
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 moreSource§impl Debug for UserFollowersParams
impl Debug for UserFollowersParams
impl Eq for UserFollowersParams
Source§impl PartialEq for UserFollowersParams
impl PartialEq for UserFollowersParams
Source§fn eq(&self, other: &UserFollowersParams) -> bool
fn eq(&self, other: &UserFollowersParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UserFollowersParams
Auto Trait Implementations§
impl Freeze for UserFollowersParams
impl RefUnwindSafe for UserFollowersParams
impl Send for UserFollowersParams
impl Sync for UserFollowersParams
impl Unpin for UserFollowersParams
impl UnsafeUnpin for UserFollowersParams
impl UnwindSafe for UserFollowersParams
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.