Database: Add user settings sync entity.

Run cargo fmt.
This commit is contained in:
Paul
2021-05-26 11:02:16 +01:00
parent 7aad88ad3f
commit 5aa9624d5c
13 changed files with 67 additions and 41 deletions

View File

@@ -29,13 +29,17 @@ pub enum Error {
CannotEditMessage,
EmptyMessage,
CannotRemoveYourself,
GroupTooLarge { max: usize },
GroupTooLarge {
max: usize,
},
AlreadyInGroup,
NotInGroup,
// ? General errors.
TooManyIds,
FailedValidation { error: ValidationErrors },
FailedValidation {
error: ValidationErrors,
},
DatabaseError {
operation: &'static str,
with: &'static str,