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