Enum twitch_oauth2::scopes::Scope [−][src]
Scopes for twitch.
Variants (Non-exhaustive)
View analytics data for the Twitch Extensions owned by the authenticated account.
analytics:read:extensions
View analytics data for the games owned by the authenticated account.
analytics:read:games
View Bits information for a channel.
bits:read
Run commercials on a channel.
channel:edit:commercial
Manage a channel’s broadcast configuration, including updating channel configuration and managing stream markers and stream tags.
channel:manage:broadcast
Manage a channel’s Extension configuration, including activating Extensions.
channel:manage:extensions
Manage Channel Points custom rewards and their redemptions on a channel.
channel:manage:redemptions
Manage a channel’s videos, including deleting videos.
channel:manage:videos
Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.
channel:moderate
View a list of users with the editor role for a channel.
channel:read:editors
View Hype Train information for a channel.
channel:read:hype_train
View Channel Points custom rewards and their redemptions on a channel.
channel:read:redemptions
View an authorized user’s stream key.
channel:read:stream_key
View a list of all subscribers to a channel and check if a user is subscribed to a channel.
channel:read:subscriptions
[DEPRECATED] Read all subscribers to your channel.
channel_subscriptions
Send live stream chat and rooms messages.
chat:edit
View live stream chat and rooms messages.
chat:read
Manage Clips for a channel.
clips:edit
View a channel’s moderation data including Moderators, Bans, Timeouts, and Automod settings.
moderation:read
Manage a user object.
user:edit
Edit your channel's broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)
user:edit:broadcast
Edit a user’s follows.
user:edit:follows
Manage the block list of a user.
user:manage:blocked_users
View the block list of a user.
user:read:blocked_users
View a user’s broadcasting configuration, including Extension configurations.
user:read:broadcast
Read an authorized user’s email address.
user:read:email
Send whisper messages.
whispers:edit
View your whisper messages.
whispers:read
Other scope that is not implemented.
Implementations
impl Scope
[src]
pub fn all() -> Vec<Scope>
[src]
Get a vec of all defined twitch Scopes.
Please note that this may not work for you, as some auth flows and "apis" don't accept all scopes
pub fn parse<C>(s: C) -> Scope where
C: Into<Cow<'static, str>>,
[src]
C: Into<Cow<'static, str>>,
Make a scope from a cow string
impl Scope
[src]
pub fn as_oauth_scope(&self) -> Scope
[src]
Get Scope as an oauth2 Scope
Trait Implementations
impl Clone for Scope
[src]
impl Debug for Scope
[src]
impl<'de> Deserialize<'de> for Scope
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Scope
[src]
impl Eq for Scope
[src]
impl From<Scope> for Scope
[src]
impl From<String> for Scope
[src]
impl PartialEq<Scope> for Scope
[src]
impl Serialize for Scope
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Scope
[src]
impl StructuralPartialEq for Scope
[src]
Auto Trait Implementations
impl RefUnwindSafe for Scope
[src]
impl Send for Scope
[src]
impl Sync for Scope
[src]
impl Unpin for Scope
[src]
impl UnwindSafe for Scope
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,