禁用不需要的struct User
This commit is contained in:
@@ -226,6 +226,7 @@ pub struct WeatherData {
|
|||||||
pub wind_speed_suitability: String,
|
pub wind_speed_suitability: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#[derive(Debug, Serialize, FromRow)]
|
#[derive(Debug, Serialize, FromRow)]
|
||||||
pub struct User {
|
pub struct User {
|
||||||
pub id: i32,
|
pub id: i32,
|
||||||
@@ -243,3 +244,4 @@ pub struct User {
|
|||||||
#[sqlx(rename = "desc")]
|
#[sqlx(rename = "desc")]
|
||||||
pub description: Option<String>,
|
pub description: Option<String>,
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user