Enum oauth2_gitlab::GitlabScope
source · pub enum GitlabScope {
Api,
ReadUser,
ReadApi,
ReadRepository,
WriteRepository,
ReadRegistry,
WriteRegistry,
Sudo,
Openid,
Profile,
Email,
Other(String),
}
Variants
Api
ReadUser
ReadApi
ReadRepository
WriteRepository
ReadRegistry
WriteRegistry
Sudo
Openid
Profile
Email
Other(String)
Trait Implementations
sourceimpl Clone for GitlabScope
impl Clone for GitlabScope
sourcefn clone(&self) -> GitlabScope
fn clone(&self) -> GitlabScope
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GitlabScope
impl Debug for GitlabScope
sourceimpl<'de> Deserialize<'de> for GitlabScope
impl<'de> Deserialize<'de> for GitlabScope
sourcefn 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
sourceimpl Display for GitlabScope
impl Display for GitlabScope
sourceimpl FromStr for GitlabScope
impl FromStr for GitlabScope
sourceimpl PartialEq<GitlabScope> for GitlabScope
impl PartialEq<GitlabScope> for GitlabScope
sourcefn eq(&self, other: &GitlabScope) -> bool
fn eq(&self, other: &GitlabScope) -> bool
sourceimpl Serialize for GitlabScope
impl Serialize for GitlabScope
sourceimpl TryFrom<&str> for GitlabScope
impl TryFrom<&str> for GitlabScope
sourceimpl TryFrom<String> for GitlabScope
impl TryFrom<String> for GitlabScope
impl Eq for GitlabScope
impl Scope for GitlabScope
impl StructuralEq for GitlabScope
impl StructuralPartialEq for GitlabScope
Auto Trait Implementations
impl RefUnwindSafe for GitlabScope
impl Send for GitlabScope
impl Sync for GitlabScope
impl Unpin for GitlabScope
impl UnwindSafe for GitlabScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more