Add even more derived traits to Scope

This commit is contained in:
Sebastian Thiel
2023-10-22 15:34:28 +02:00
parent 8895ac698f
commit c30df00f35

View File

@@ -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}