soap_tools 0.0.13

a tool for soap
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
pub struct ResponseError {
    pub status: u16,
    pub message: String,
}

impl ResponseError {
    pub fn new(status: u16, message: String) -> Self {
        ResponseError {
            status,
            message,
        }
    }
}