Signed int repr for` WebhookType`
This commit is contained in:
parent
e4dd31ef78
commit
688c8899ea
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue