chore: clippy warnings

This commit is contained in:
Valentin Tolmer
2024-01-13 16:42:17 +01:00
committed by nitnelave
parent c4be7f5b6f
commit 8b7852bf1c
4 changed files with 5 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ pub enum Memberships {
GroupId,
}
#[allow(clippy::enum_variant_names)] // The table names are generated from the enum.
#[derive(DeriveIden, PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Copy)]
pub enum UserAttributeSchema {
Table,
@@ -67,6 +68,7 @@ pub enum UserAttributes {
UserAttributeValue,
}
#[allow(clippy::enum_variant_names)] // The table names are generated from the enum.
#[derive(DeriveIden, PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Copy)]
pub enum GroupAttributeSchema {
Table,