chore: address Rust 1.79 clippy lints (#5003)

This commit is contained in:
Chethan Rao
2024-06-14 12:55:31 +05:30
committed by GitHub
parent 656fb3e09a
commit edf919e142
8 changed files with 1 additions and 26 deletions

View File

@ -377,31 +377,11 @@ pub enum GlobalpayPaymentStatus {
Reversed,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhoookResourceObject {
pub data: GlobalpayWebhookDataResource,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhookDataResource {
pub object: serde_json::Value,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhookObjectId {
pub id: String,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhookDataId {
pub object: GlobalpayWebhookObjectDataId,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhookObjectDataId {
pub id: String,
}
#[derive(Debug, Deserialize)]
pub struct GlobalpayWebhookObjectEventType {
pub status: GlobalpayWebhookStatus,