diff options
author | Vika <vika@fireburn.ru> | 2022-07-10 22:27:55 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-10 22:29:29 +0300 |
commit | d8556f4eb27412f60fa48b73b18db0e52d388409 (patch) | |
tree | ab303d1a1e34897c74d643a844260e08b342aa77 /kittybox-rs/indieauth/src/scopes.rs | |
parent | 0cae59373c9ab5828804477e8dedc85143ffc224 (diff) | |
download | kittybox-d8556f4eb27412f60fa48b73b18db0e52d388409.tar.zst |
kittybox-indieauth: improve types and make more of them public
Diffstat (limited to 'kittybox-rs/indieauth/src/scopes.rs')
-rw-r--r-- | kittybox-rs/indieauth/src/scopes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/indieauth/src/scopes.rs b/kittybox-rs/indieauth/src/scopes.rs index bc57265..e803dca 100644 --- a/kittybox-rs/indieauth/src/scopes.rs +++ b/kittybox-rs/indieauth/src/scopes.rs @@ -80,7 +80,7 @@ impl From<&str> for Scope { } } } -#[derive(Debug, Clone)] +#[derive(PartialEq, Eq, Debug, Clone)] pub struct Scopes(Vec<Scope>); impl Scopes { pub fn new(scopes: Vec<Scope>) -> Self { |