aboutsummaryrefslogtreecommitdiff
path: root/src/model/user.rs
Commit message (Expand)AuthorAgeFilesLines
* Use `to_`- and `as_`-methods instead of `get` and `find` on Id newtypesLakelezz2018-08-121-3/+24
* Fix all the dead links in the docsErk-2018-08-091-12/+14
* Move unit tests into sourceZeyla Hellyer2018-08-011-0/+68
* Add note about cache in UserId::get docsZeyla Hellyer2018-07-291-2/+3
* Fix some clippy lintsZeyla Hellyer2018-07-151-1/+1
* Monomorphize all functionsZeyla Hellyer2018-07-041-3/+5
* impl From<{,&'a }CurrentUser> for UserZeyla Hellyer2018-05-231-0/+24
* Fix docs for User::has_roleNikita Pekin2018-01-101-3/+4
* Move `VecMap` to `utils`acdenisSK2018-01-021-2/+2
* Implement or derive Serialize on all modelsZeyla Hellyer2018-01-011-2/+2
* Improve performance of builders even furtheracdenisSK2017-12-271-3/+3
* Fix typo (#235)Lakelezz2017-12-171-1/+1
* Break up the model moduleZeyla Hellyer2017-12-161-6/+8
* Change type of a couple Guild/PartialGuild fieldsZeyla Hellyer2017-12-151-14/+0
* Re-order use statements alphabeticallyZeyla Hellyer2017-11-111-6/+6
* Merge v0.4.3acdenisSK2017-11-041-6/+6
|\
| * Fix no-client cache testsZeyla Hellyer2017-11-011-6/+6
* | Make the Client return a ResultZeyla Hellyer2017-11-031-2/+5
* | Remove unwrapsacdenisSK2017-10-241-1/+1
* | Merge v0.4.2acdenisSK2017-10-241-2/+22
|\|
| * Fix User::has_roleZeyla Hellyer2017-10-241-1/+5
| * Hash and do equality on just the id for `User`acdenisSK2017-10-151-1/+17
| * Generate `Default` for CurrentUser and use it in `Cache::default`acdenisSK2017-10-081-1/+1
| * Revert "Use the de-generification trick."acdenisSK2017-10-031-6/+4
| * Use the de-generification trick.acdenisSK2017-10-021-4/+6
| * `to_owned` -> `to_string`acdenisSK2017-10-011-2/+2
* | Remove `on_` prefix to EventHandler tymethodsZeyla Hellyer2017-10-221-3/+3
* | Slightly improve performance of buildersZeyla Hellyer2017-10-181-4/+8
* | Switch to parking_lot::{Mutex, RwLock}Zeyla Hellyer2017-10-101-35/+32
* | Generate `Default` for CurrentUser and use it in `Cache::default`acdenisSK2017-10-091-1/+1
* | Revert "Use the de-generification trick."acdenisSK2017-10-091-6/+4
* | Use the de-generification trick.acdenisSK2017-10-091-4/+6
* | `to_owned` -> `to_string`acdenisSK2017-10-091-2/+2
|/
* Fix User::tag and CurrentUser::tag discrim outputZeyla Hellyer2017-09-281-1/+1
* Refactor display impls for idsacdenisSK2017-09-241-4/+0
* Update bitflags, other dependenciesZeyla Hellyer2017-09-211-2/+2
* Apply rustfmtZeyla Hellyer2017-09-181-31/+15
* Fix compiles of a variety of feature combinationsZeyla Hellyer2017-09-181-2/+2
* match to map/?acdenisSK2017-09-041-4/+1
* Prevent malformed opus data from crashing the bot process (#149)Maiddog2017-08-271-29/+32
* Add ability to play DCA and Opus files. (#148)Maiddog2017-08-271-15/+30
* Revamp `RwLock` usage in the libacdenisSK2017-08-241-60/+44
* Use cache when possible in UserId's get method (#146)Maiddog2017-08-221-1/+10
* Fix rustfmt lines that are too longZeyla Hellyer2017-08-181-1/+2
* Apply rustfmtZeyla Hellyer2017-08-181-7/+15
* Change the config a bit, and a few nitpicksacdenisSK2017-07-271-9/+7
* rustfmtacdenisSK2017-07-271-108/+78
* Remove the deprecated functionsacdenisSK2017-07-111-35/+0
* Make `User` and `Ban` comparable and hashableacdenisSK2017-07-101-1/+1
* Fix doc testsacdenisSK2017-07-021-52/+67