marzban_api 0.2.12

A simple async client which abstracts/simplifies the interactions with the Marzban panel API (https://github.com/Gozargah/Marzban).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct HTTPValidationError {
    detail: Option<Vec<ValidationError>>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct ValidationError {
    pub loc: Vec<ValidationErrorLocation>, // Location
    pub msg: String,                       // Message
    pub r#type: String,                    // Error Type
}

#[derive(Serialize, Deserialize, Debug)]
pub struct ValidationErrorLocation {}