anttp 0.26.0

AntTP is an HTTP server for the Autonomi Network
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, ToSchema)]
pub struct PathDetail {
    pub path: String,
    pub display: String,
    pub modified: u64,
    pub size: u64,
    pub path_type: PathDetailType,
}

#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, ToSchema)]
pub enum PathDetailType {
    FILE, DIRECTORY
}