documentation
This commit is contained in:
parent
cb67c85040
commit
fbde0a07c6
3 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
use actix_web::{get, HttpResponse, Responder};
|
||||
use serde::Serialize;
|
||||
|
||||
/// Response
|
||||
#[derive(Serialize)]
|
||||
struct Info {
|
||||
unix_epoch: u32,
|
||||
|
|
|
@ -30,6 +30,7 @@ async fn page(config: web::Data<Config>) -> impl Responder {
|
|||
Html(build_page(config.get_ref().to_owned()))
|
||||
}
|
||||
|
||||
/// Contact node
|
||||
#[derive(Clone, Debug)]
|
||||
struct ContactLink {
|
||||
service: String,
|
||||
|
|
|
@ -24,6 +24,7 @@ pub struct Infos {
|
|||
pub page_kw: Option<String>,
|
||||
}
|
||||
|
||||
/// Information on what page the user is currently
|
||||
#[derive(Content, Debug, Default)]
|
||||
pub struct NavBar {
|
||||
pub index: bool,
|
||||
|
|
Loading…
Reference in a new issue