pub enum MessageReadStateOption {
Read,
Unread,
Any,
}
Expand description
Option for filtering messages according to its read state.
Note: it only applies to sent messages.
Variants
Read
Messages already read.
Unread
Messages not yet read.
Any
Any message read state.
Trait Implementations
sourceimpl Clone for MessageReadStateOption
impl Clone for MessageReadStateOption
sourcefn clone(&self) -> MessageReadStateOption
fn clone(&self) -> MessageReadStateOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageReadStateOption
impl Debug for MessageReadStateOption
sourceimpl PartialEq<MessageReadStateOption> for MessageReadStateOption
impl PartialEq<MessageReadStateOption> for MessageReadStateOption
sourcefn eq(&self, other: &MessageReadStateOption) -> bool
fn eq(&self, other: &MessageReadStateOption) -> bool
sourceimpl ToString for MessageReadStateOption
impl ToString for MessageReadStateOption
impl Copy for MessageReadStateOption
impl Eq for MessageReadStateOption
impl StructuralEq for MessageReadStateOption
impl StructuralPartialEq for MessageReadStateOption
Auto Trait Implementations
impl RefUnwindSafe for MessageReadStateOption
impl Send for MessageReadStateOption
impl Sync for MessageReadStateOption
impl Unpin for MessageReadStateOption
impl UnwindSafe for MessageReadStateOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.