Struct github_scopes_rs::transform::GithubTokenScope
source · [−]pub struct GithubTokenScope {Show 15 fields
pub repo: GithubScopeRepo,
pub workflow: bool,
pub packages: GithubScopeLevel,
pub delete_packages: bool,
pub org: GithubScopeAdminLevel,
pub public_key: GithubScopeAdminLevel,
pub repo_hook: GithubScopeAdminLevel,
pub org_hook: bool,
pub gist: bool,
pub notifications: bool,
pub user: GithubScopeUser,
pub delete_repo: bool,
pub discussion: GithubScopeLevel,
pub enterprise: GithubScopeEnterprise,
pub gpg_key: GithubScopeAdminLevel,
}
Expand description
All token scope data
Fields
repo: GithubScopeRepo
workflow: bool
packages: GithubScopeLevel
delete_packages: bool
org: GithubScopeAdminLevel
public_key: GithubScopeAdminLevel
repo_hook: GithubScopeAdminLevel
org_hook: bool
gist: bool
notifications: bool
user: GithubScopeUser
delete_repo: bool
discussion: GithubScopeLevel
enterprise: GithubScopeEnterprise
gpg_key: GithubScopeAdminLevel
Auto Trait Implementations
impl RefUnwindSafe for GithubTokenScope
impl Send for GithubTokenScope
impl Sync for GithubTokenScope
impl Unpin for GithubTokenScope
impl UnwindSafe for GithubTokenScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more