From 631159f92d7dd44ca2a40d331cd50ed02c8cbd4c Mon Sep 17 00:00:00 2001 From: fedechkin_alexey Date: Mon, 2 Sep 2019 13:11:54 +0700 Subject: [PATCH] add payment import to other.rs --- src/core/other.rs | 1 + src/core/payments.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/core/other.rs b/src/core/other.rs index 66ad0037..ab42eaaa 100644 --- a/src/core/other.rs +++ b/src/core/other.rs @@ -1,4 +1,5 @@ use serde::Deserialize; +use crate::core::payments::{SuccessfulPayment, Invoice}; #[derive(Debug, Deserialize)] pub struct User { diff --git a/src/core/payments.rs b/src/core/payments.rs index 37bd0ef7..008b8f5a 100644 --- a/src/core/payments.rs +++ b/src/core/payments.rs @@ -1,6 +1,9 @@ use serde::Deserialize; use crate::core::other::User; + + + #[derive(Debug, Deserialize)] pub struct SendInvoice { chat_id: i64,