@@ -34,6 +34,7 @@ use crate::utils::{
34
34
/// Sent when an endpoint has been automatically disabled after continuous failures.
35
35
#[ derive( Debug , Deserialize ) ]
36
36
#[ serde( rename_all = "camelCase" ) ]
37
+ #[ allow( dead_code) ]
37
38
pub struct EndpointDisabledEvent {
38
39
pub app_id : ApplicationId ,
39
40
pub app_uid : Option < ApplicationUid > ,
@@ -54,6 +55,7 @@ pub struct EndpointEvent {
54
55
55
56
#[ derive( Debug , Deserialize ) ]
56
57
#[ serde( rename_all = "camelCase" ) ]
58
+ #[ allow( dead_code) ]
57
59
pub struct MessageAttempetLast {
58
60
pub id : MessageAttemptId ,
59
61
pub response_status_code : i16 ,
@@ -65,6 +67,7 @@ pub struct MessageAttempetLast {
65
67
/// event.
66
68
#[ derive( Debug , Deserialize ) ]
67
69
#[ serde( rename_all = "camelCase" ) ]
70
+ #[ allow( dead_code) ]
68
71
pub struct MessageAttemptEvent {
69
72
pub app_id : ApplicationId ,
70
73
pub app_uid : Option < ApplicationUid > ,
@@ -76,6 +79,7 @@ pub struct MessageAttemptEvent {
76
79
77
80
#[ derive( Debug , Deserialize ) ]
78
81
#[ serde( tag = "type" , content = "data" ) ]
82
+ #[ allow( dead_code) ]
79
83
pub enum OperationalWebhookTest {
80
84
#[ serde( rename = "endpoint.disabled" ) ]
81
85
EndpointDisabled ( EndpointDisabledEvent ) ,
0 commit comments