Skip to content

Commit

Permalink
Add even more derived traits to Scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Oct 22, 2023
1 parent 8895ac6 commit c30df00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/templates/api/lib/lib.mako
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ You can read the full text at the repository's [license file][repo-license].
/// Identifies the an OAuth2 authorization scope.
/// A scope is needed when requesting an
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
#[derive(PartialEq, Eq, Hash, Debug, Clone)]
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
pub enum Scope {
% for url, scope in auth.oauth2.scopes.items():
${scope.description | rust_doc_sanitize(documentationLink), rust_doc_comment}
Expand Down

0 comments on commit c30df00

Please sign in to comment.