[][src]Enum twitch_oauth2::Scope

pub enum Scope {
    AnalyticsReadExtensions,
    UserEdit,
    UserReadEmail,
    UserReadStreamKey,
    ClipsEdit,
    BitsRead,
    AnalyticsReadGames,
    UserEditBroadcast,
    UserReadBroadcast,
    ChatRead,
    ChatEdit,
    ChannelModerate,
    ChannelReadSubscriptions,
    ChannelReadHypeTrain,
    WhispersRead,
    WhispersEdit,
    ModerationRead,
    ChannelReadRedemptions,
    Other(String),
}

Variants

AnalyticsReadExtensions

View analytics data for your extensions.

UserEdit

Manage a user object.

UserReadEmail

Read authorized user's email address.

UserReadStreamKey

Read authorized user’s stream key.

Note:

This scope seems to not work, even though it is documented.

ClipsEdit

Create and edit clips as a specific user.

BitsRead

View bits information for your channel.

AnalyticsReadGames

View analytics data for your games.

UserEditBroadcast

Edit your channel's broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)

UserReadBroadcast

View your broadcasting configuration, including extension configurations.

ChatRead

View live Stream Chat and Rooms messages

ChatEdit

Send live Stream Chat and Rooms messages

ChannelModerate

Perform moderation actions in a channel

ChannelReadSubscriptions

Get a list of all subscribers to your channel and check if a user is subscribed to your channel

ChannelReadHypeTrain
WhispersRead

View your whisper messages.

WhispersEdit

Send whisper messages.

ModerationRead

View your channel's moderation data including Moderators, Bans, Timeouts and Automod settings

ChannelReadRedemptions

View your channel points custom reward redemptions

Other(String)

Other scope that is not implemented.

Implementations

impl Scope[src]

pub fn as_oauth_scope(&self) -> Scope[src]

pub fn all() -> Vec<Scope>[src]

Get a vec of all defined twitch Scopes

Trait Implementations

impl Clone for Scope[src]

impl Debug for Scope[src]

impl<'de> Deserialize<'de> for Scope[src]

impl From<Scope> for Scope[src]

impl Serialize for Scope[src]

Auto Trait Implementations

impl RefUnwindSafe for Scope

impl Send for Scope

impl Sync for Scope

impl Unpin for Scope

impl UnwindSafe for Scope

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,