pub enum Scope {
Show 22 variants
Email,
Userinfo,
Feed,
ManageVideos,
ManagePlaylists,
ManageSubscriptions,
ManageLikes,
ManageRecords,
ManageSubtitles,
ManageFeatures,
ManageHistory,
ReadInsights,
ManageClaimRules,
ManageAnalytics,
ManagePlayer,
ManagePlayers,
ManageUserSettings,
ManageAppConnections,
ManageApplications,
ManageDomains,
ManagePodcasts,
Other(String),
}Expand description
Represents a scope. Scopes are in snake case, e.g. [Scope::Manage_Videos] is for the scope manage_videos.
Variants§
Userinfo
Feed
ManageVideos
ManagePlaylists
ManageSubscriptions
ManageLikes
ManageRecords
ManageSubtitles
ManageFeatures
ManageHistory
ReadInsights
ManageClaimRules
ManageAnalytics
ManagePlayer
ManagePlayers
ManageUserSettings
ManageAppConnections
ManageApplications
ManageDomains
ManagePodcasts
Other(String)
Any other scope
Trait Implementations§
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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> 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.