vesys-bank-server/http-server/src/handlers/mod.rs

19 lines
345 B
Rust
Raw Normal View History

use serde::{Deserialize, Serialize};
pub mod close_account;
pub mod create_account;
pub mod deposit;
pub mod error;
pub mod get_account;
pub mod get_account_nrs;
2022-03-25 18:18:55 +00:00
pub mod is_active;
pub mod pong;
pub mod transfer;
2022-03-25 18:18:55 +00:00
pub mod update_account;
pub mod withdraw;
#[derive(Deserialize, Serialize)]
pub struct AmountData {
pub(crate) amount: f64,
}