TyPe MiSmAtCh pGdAtE eXpEcTeD StRiNg
This commit is contained in:
@@ -15,3 +15,13 @@ pub struct CommonAdmin {
|
||||
pub name: String,
|
||||
pub address: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct CommonDriver {
|
||||
pub id: i32,
|
||||
pub name: String,
|
||||
pub address: String,
|
||||
pub reg_date: i32,
|
||||
pub birthdate: i32,
|
||||
}
|
||||
Reference in New Issue
Block a user