Began moving database communication into a client.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2026-03-22 13:57:12 -04:00
parent 046d71e606
commit 74c3327802
3 changed files with 91 additions and 2 deletions

View File

@@ -47,11 +47,19 @@ pub struct Message {
impl Message {
pub fn new<A>(action: A) -> Self
where
A: Into<MsgAction>,
{
let msg_id = MessageID::new();
Self::with_id(msg_id, action)
}
pub fn with_id<A>(msg_id: MessageID, action: A) -> Self
where
A: Into<MsgAction>,
{
Self {
msg_id: MessageID::new(),
msg_id: msg_id,
action: action.into(),
route: Route::default(),
}