pub enum TwitterScope {
TweetRead,
TweetWrite,
UsersRead,
OfflineAccess,
Other(String),
}
Variants§
Trait Implementations§
Source§impl Clone for TwitterScope
impl Clone for TwitterScope
Source§fn clone(&self) -> TwitterScope
fn clone(&self) -> TwitterScope
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TwitterScope
impl Debug for TwitterScope
Source§impl<'de> Deserialize<'de> for TwitterScope
impl<'de> Deserialize<'de> for TwitterScope
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TwitterScope
impl Display for TwitterScope
Source§impl FromStr for TwitterScope
impl FromStr for TwitterScope
Source§impl PartialEq for TwitterScope
impl PartialEq for TwitterScope
Source§impl Serialize for TwitterScope
impl Serialize for TwitterScope
Source§impl TryFrom<&str> for TwitterScope
impl TryFrom<&str> for TwitterScope
Source§impl TryFrom<String> for TwitterScope
impl TryFrom<String> for TwitterScope
impl Eq for TwitterScope
impl Scope for TwitterScope
impl StructuralPartialEq for TwitterScope
Auto Trait Implementations§
impl Freeze for TwitterScope
impl RefUnwindSafe for TwitterScope
impl Send for TwitterScope
impl Sync for TwitterScope
impl Unpin for TwitterScope
impl UnwindSafe for TwitterScope
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