Signed int repr for` WebhookType`

This commit is contained in:
bitfl0wer 2024-08-04 16:18:52 +02:00
parent e4dd31ef78
commit 688c8899ea
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ impl PartialEq for Webhook {
#[derive( #[derive(
Serialize, Deserialize, Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash,
)] )]
#[repr(u8)] #[repr(i8)]
#[cfg_attr(feature = "sqlx", derive(sqlx::Type))] #[cfg_attr(feature = "sqlx", derive(sqlx::Type))]
pub enum WebhookType { pub enum WebhookType {
#[default] #[default]