router implementation

This commit is contained in:
Priec
2025-08-22 22:19:59 +02:00
parent 6833ac5fad
commit 957f5bf9f0
9 changed files with 225 additions and 180 deletions

View File

@@ -21,7 +21,7 @@ pub struct AuthState {
}
/// Represents the state of the Login form UI
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct LoginState {
pub username: String,
pub password: String,
@@ -49,7 +49,7 @@ impl Default for LoginState {
}
/// Represents the state of the Registration form UI
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct RegisterState {
pub username: String,
pub email: String,

View File

@@ -21,7 +21,7 @@ pub struct FieldDefinition {
pub link_target_table: Option<String>,
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct FormState {
pub id: i64,
pub profile_name: String,