14 lines
294 B
Rust
14 lines
294 B
Rust
use crate::requests::RequestWithToken;
|
|
use std::sync::mpsc::Sender;
|
|
|
|
pub struct InternalMessage {
|
|
response_sender: Option<Sender<ResponseDataTypes>>,
|
|
message_data: MessageDataTypes,
|
|
}
|
|
|
|
pub enum MessageDataTypes {
|
|
RequestWithToken(RequestWithToken),
|
|
}
|
|
|
|
pub enum ResponseDataTypes {}
|