diff options
| author | Mroik <mroik@delayed.space> | 2026-06-29 18:19:41 +0200 |
|---|---|---|
| committer | Mroik <mroik@delayed.space> | 2026-06-29 18:21:47 +0200 |
| commit | 938379d6d7f03747c8d7aeac4be534c9e20cfd05 (patch) | |
| tree | 6f6c726a931f2a9d498938f42601876b25d7b30e /src/model.rs | |
| parent | d04456228d87593ede49b0d988d12b50ea27a534 (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.rs | 6 |
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 { |
