Changed UserAction to ClientAction.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use super::{Addition, Delete, DocDef, Query, Records, Reply, Show, Update, UserAction};
|
||||
use super::{Addition, ClientAction, Delete, DocDef, Query, Records, Reply, Show, Update};
|
||||
use crate::{
|
||||
message::MessageAction, mtterror::MTTError, name::NameType, queue::data_director::Register,
|
||||
};
|
||||
@@ -98,13 +98,13 @@ impl From<Update> for MsgAction {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<UserAction> for MsgAction {
|
||||
fn from(value: UserAction) -> Self {
|
||||
impl From<ClientAction> for MsgAction {
|
||||
fn from(value: ClientAction) -> Self {
|
||||
match value {
|
||||
UserAction::Addition(data) => Self::Addition(data),
|
||||
UserAction::Delete(data) => Self::Delete(data),
|
||||
UserAction::Query(data) => Self::Query(data),
|
||||
UserAction::Update(data) => Self::Update(data),
|
||||
ClientAction::Addition(data) => Self::Addition(data),
|
||||
ClientAction::Delete(data) => Self::Delete(data),
|
||||
ClientAction::Query(data) => Self::Query(data),
|
||||
ClientAction::Update(data) => Self::Update(data),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user