Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c30df00

Browse files
committed
Add even more derived traits to Scope
1 parent 8895ac6 commit c30df00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/generator/templates/api/lib/lib.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ You can read the full text at the repository's [license file][repo-license].
331331
/// Identifies the an OAuth2 authorization scope.
332332
/// A scope is needed when requesting an
333333
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
334-
#[derive(PartialEq, Eq, Hash, Debug, Clone)]
334+
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
335335
pub enum Scope {
336336
% for url, scope in auth.oauth2.scopes.items():
337337
${scope.description | rust_doc_sanitize(documentationLink), rust_doc_comment}

0 commit comments

Comments
 (0)