pub struct MessageReplyFeedParams { /* private fields */ }Expand description
/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>
设置上一页返回的游标 ID。
Sourcepub fn with_start_time(self, start_time: u64) -> BpiResult<Self>
pub fn with_start_time(self, start_time: u64) -> BpiResult<Self>
设置上一页返回的游标时间戳。
Sourcepub fn with_web_location(self, web_location: impl Into<String>) -> Self
pub fn with_web_location(self, web_location: impl Into<String>) -> Self
设置 Bilibili 原始 web-location 标记。
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