You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
267 B
13 lines
267 B
use serde::Serialize;
|
|
|
|
#[derive(Debug, Clone, Serialize)]
|
|
pub struct JsonErrorModel {
|
|
status_code: i16,
|
|
pub line: String,
|
|
pub reason: String,
|
|
}
|
|
#[derive(Debug, Clone, Serialize)]
|
|
pub struct ErrorModel {
|
|
pub status_code: i16,
|
|
pub reason: String,
|
|
}
|