From eeb8865b75b268349de7ddcb837af0ef4baf99b6 Mon Sep 17 00:00:00 2001 From: princefr Date: Thu, 12 Sep 2024 07:09:03 +0200 Subject: [PATCH] remove this --- src/enums/deposit_status.rs | 7 ------- src/enums/mod.rs | 1 - src/lib.rs | 5 +---- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 src/enums/deposit_status.rs diff --git a/src/enums/deposit_status.rs b/src/enums/deposit_status.rs deleted file mode 100644 index 6e7a7e8..0000000 --- a/src/enums/deposit_status.rs +++ /dev/null @@ -1,7 +0,0 @@ -#[doc(hidden)] -use serde::{Deserialize, Serialize}; - -#[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] -pub enum DepositStatus { - PENDING, -} diff --git a/src/enums/mod.rs b/src/enums/mod.rs index 79da3a8..c72709b 100644 --- a/src/enums/mod.rs +++ b/src/enums/mod.rs @@ -1,6 +1,5 @@ pub mod access_type; pub mod currency; -pub mod deposit_status; pub mod environment; pub mod party_id_type; pub mod payer_identification_type; diff --git a/src/lib.rs b/src/lib.rs index 39da93d..3c1db42 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,10 +72,7 @@ use futures_core::Stream; use std::error::Error; use tokio::sync::mpsc::{self, Sender}; -use enums::{ - deposit_status::DepositStatus, reason::RequestToPayReason, - request_to_pay_status::RequestToPayStatus, -}; +use enums::{reason::RequestToPayReason, request_to_pay_status::RequestToPayStatus}; use poem::{ error::ReadBodyError, listener::TcpListener, middleware::AddData, post, web::Data, EndpointExt, };