pub struct UserFollowersParams { /* private fields */ }Expand description
/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
设置每页数量。
Sourcepub fn with_offset(self, offset: impl Into<String>) -> Self
pub fn with_offset(self, offset: impl Into<String>) -> Self
设置 Bilibili 返回的分页 offset。
Sourcepub fn with_last_access_ts(self, last_access_ts: u64) -> Self
pub fn with_last_access_ts(self, last_access_ts: u64) -> Self
设置最后访问时间戳,单位秒。
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