morethantext/src/lib.rs

32 lines
468 B
Rust
Raw Normal View History

mod field;
2024-05-05 23:18:42 -04:00
use field::Field;
2024-03-19 19:54:14 -04:00
pub struct Reply;
2025-02-10 08:05:59 -05:00
impl Reply {
pub fn get_session(&self) -> String {
"id".to_string()
2025-02-10 08:05:59 -05:00
}
pub fn get_content(&self) -> String {
"Something goes here.".to_string()
2025-02-17 14:55:36 -05:00
}
2025-02-10 08:05:59 -05:00
}
2025-02-22 10:53:05 -05:00
#[derive(Clone)]
pub struct MoreThanText;
2025-02-22 10:53:05 -05:00
impl MoreThanText {
pub fn new() -> Self {
Self {}
2025-02-11 11:33:54 -05:00
}
pub fn request<F>(&self, _session: Option<F>) -> Reply
2025-02-11 11:33:54 -05:00
where
F: Into<Field>,
{
Reply {}
2024-11-06 21:28:44 -05:00
}
2024-05-05 23:18:42 -04:00
}