12 lines
258 B
Rust
12 lines
258 B
Rust
|
use serde::{Serialize, Deserialize};
|
||
|
|
||
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||
|
pub struct CarStation {
|
||
|
pub id: i32,
|
||
|
pub address: String
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||
|
pub struct BindingCarStation {
|
||
|
pub address: String
|
||
|
}
|