pub enum Read {
Accounts,
Blocks,
Favourites,
Filters,
Follows,
Lists,
Mutes,
Notifications,
Reports,
Search,
Statuses,
}Expand description
Represents the granular “read:___” oauth scopes
Variants§
Accounts
Accounts
Blocks
Blocks
Favourites
Favourites
Filters
Filters
Follows
Follows
Lists
Lists
Mutes
Mutes
Notifications
Notifications
Reports
Reports
Search
Search
Statuses
Statuses
Implementations§
Source§impl Read
§enum Variant Predicates
impl Read
§enum Variant Predicates
Sourcepub fn is_accounts(&self) -> bool
pub fn is_accounts(&self) -> bool
Is this Read a Accounts?
Sourcepub fn is_favourites(&self) -> bool
pub fn is_favourites(&self) -> bool
Is this Read a Favourites?
Sourcepub fn is_filters(&self) -> bool
pub fn is_filters(&self) -> bool
Is this Read a Filters?
Sourcepub fn is_follows(&self) -> bool
pub fn is_follows(&self) -> bool
Is this Read a Follows?
Sourcepub fn is_notifications(&self) -> bool
pub fn is_notifications(&self) -> bool
Is this Read a Notifications?
Sourcepub fn is_reports(&self) -> bool
pub fn is_reports(&self) -> bool
Is this Read a Reports?
Sourcepub fn is_statuses(&self) -> bool
pub fn is_statuses(&self) -> bool
Is this Read a Statuses?
Trait Implementations§
Source§impl Ord for Read
impl Ord for Read
Source§impl PartialOrd for Read
impl PartialOrd for Read
impl Copy for Read
impl Eq for Read
impl StructuralPartialEq for Read
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnwindSafe for Read
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.