pub struct MessageSingleUnreadParams { /* private fields */ }Expand description
Parameters for /session_svr/v1/session_svr/single_unread.
Implementations§
Source§impl MessageSingleUnreadParams
impl MessageSingleUnreadParams
pub fn new() -> Self
pub fn with_unread_type(self, unread_type: SingleUnreadType) -> Self
pub fn show_unfollow_list(self, show: bool) -> Self
pub fn show_dustbin(self, show: bool) -> Self
pub fn with_custom_unread_type(self, unread_type: u32) -> BpiResult<Self>
Trait Implementations§
Source§impl Clone for MessageSingleUnreadParams
impl Clone for MessageSingleUnreadParams
Source§fn clone(&self) -> MessageSingleUnreadParams
fn clone(&self) -> MessageSingleUnreadParams
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 MessageSingleUnreadParams
impl Debug for MessageSingleUnreadParams
Source§impl Default for MessageSingleUnreadParams
impl Default for MessageSingleUnreadParams
impl Eq for MessageSingleUnreadParams
Source§impl PartialEq for MessageSingleUnreadParams
impl PartialEq for MessageSingleUnreadParams
Source§fn eq(&self, other: &MessageSingleUnreadParams) -> bool
fn eq(&self, other: &MessageSingleUnreadParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageSingleUnreadParams
Auto Trait Implementations§
impl Freeze for MessageSingleUnreadParams
impl RefUnwindSafe for MessageSingleUnreadParams
impl Send for MessageSingleUnreadParams
impl Sync for MessageSingleUnreadParams
impl Unpin for MessageSingleUnreadParams
impl UnsafeUnpin for MessageSingleUnreadParams
impl UnwindSafe for MessageSingleUnreadParams
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.