refactor: remove unused struct members and methods
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -32,16 +32,6 @@ pub struct AppState {
|
||||
pub password_hash: Option<String>,
|
||||
}
|
||||
|
||||
impl AppState {
|
||||
pub fn password(&self) -> Option<&String> {
|
||||
self.password.as_ref()
|
||||
}
|
||||
|
||||
pub fn password_hash(&self) -> Option<&String> {
|
||||
self.password_hash.as_ref()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
#[schema(description = "Standard API response wrapper containing success status, data payload, and error information")]
|
||||
pub struct ApiResponse<T> {
|
||||
|
||||
Reference in New Issue
Block a user