pub struct MessageReplyFeedParams { /* private fields */ }Expand description
Parameters for /x/msgfeed/reply.
Implementations§
Source§impl MessageReplyFeedParams
impl MessageReplyFeedParams
pub fn new() -> Self
Sourcepub fn with_start_id(self, start_id: u64) -> BpiResult<Self>
pub fn with_start_id(self, start_id: u64) -> BpiResult<Self>
Sets the cursor ID returned by the previous page.
Sourcepub fn with_start_time(self, start_time: u64) -> BpiResult<Self>
pub fn with_start_time(self, start_time: u64) -> BpiResult<Self>
Sets the cursor timestamp returned by the previous page.
Sourcepub fn with_web_location(self, web_location: impl Into<String>) -> Self
pub fn with_web_location(self, web_location: impl Into<String>) -> Self
Sets Bilibili’s raw web-location marker.
Trait Implementations§
Source§impl Clone for MessageReplyFeedParams
impl Clone for MessageReplyFeedParams
Source§fn clone(&self) -> MessageReplyFeedParams
fn clone(&self) -> MessageReplyFeedParams
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 MessageReplyFeedParams
impl Debug for MessageReplyFeedParams
Source§impl Default for MessageReplyFeedParams
impl Default for MessageReplyFeedParams
impl Eq for MessageReplyFeedParams
Source§impl PartialEq for MessageReplyFeedParams
impl PartialEq for MessageReplyFeedParams
Source§fn eq(&self, other: &MessageReplyFeedParams) -> bool
fn eq(&self, other: &MessageReplyFeedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageReplyFeedParams
Auto Trait Implementations§
impl Freeze for MessageReplyFeedParams
impl RefUnwindSafe for MessageReplyFeedParams
impl Send for MessageReplyFeedParams
impl Sync for MessageReplyFeedParams
impl Unpin for MessageReplyFeedParams
impl UnsafeUnpin for MessageReplyFeedParams
impl UnwindSafe for MessageReplyFeedParams
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.