chore: clippy warnings
This commit is contained in:
committed by
nitnelave
parent
c4be7f5b6f
commit
8b7852bf1c
@@ -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,
|
||||
|
||||
@@ -10,7 +10,7 @@ use sea_orm::{
|
||||
use serde::{Deserialize, Serialize};
|
||||
use strum::{EnumString, IntoStaticStr};
|
||||
|
||||
pub use super::model::{GroupColumn, UserColumn};
|
||||
pub use super::model::UserColumn;
|
||||
|
||||
#[derive(PartialEq, Hash, Eq, Clone, Debug, Default, Serialize, Deserialize, DeriveValueType)]
|
||||
#[serde(try_from = "&str")]
|
||||
|
||||
Reference in New Issue
Block a user