aboutsummaryrefslogtreecommitdiff
path: root/src/model.rs
diff options
context:
space:
mode:
authorMroik <mroik@delayed.space>2026-06-29 18:19:41 +0200
committerMroik <mroik@delayed.space>2026-06-29 18:21:47 +0200
commit938379d6d7f03747c8d7aeac4be534c9e20cfd05 (patch)
tree6f6c726a931f2a9d498938f42601876b25d7b30e /src/model.rs
parentd04456228d87593ede49b0d988d12b50ea27a534 (diff)
Implement SMTP client
This is used to forward requests to the main MTA to send emails to the subscribers of the mailing list. Signed-off-by: Mroik <mroik@delayed.space>
Diffstat (limited to 'src/model.rs')
-rw-r--r--src/model.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model.rs b/src/model.rs
index 3a8f8fa..c67a319 100644
--- a/src/model.rs
+++ b/src/model.rs
@@ -4,9 +4,9 @@ use rusqlite::fallible_iterator::FallibleIterator;
use crate::database::{Query, QueryResult};
#[derive(PartialEq, Debug)]
-struct User {
- name: Option<String>,
- email: String,
+pub struct User {
+ pub name: Option<String>,
+ pub email: String,
}
impl User {
XMR address: 854DmXNrxULU3ZFJVs4Wc8PFhbq29RhqHhY8W6cdWrtFN3qmooKyyeYPcDzZTNRxphhJ5UzASQfAdEMwSteVqymk28aLhqj