dagpirs 0.1.7

A pure rust wrapper for dagpi, with image manipulation and data fetching.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
/// Struct for a singke missing param is MisisingParams
#[derive(Debug, Deserialize, Serialize)]
pub struct MissingParam {
    pub loc: Vec<String>,
    pub msg: String,
    pub r#type: String,
}

/// Struct for error raised when request parameters are missing
#[derive(Debug, Deserialize, Serialize)]
pub struct MissingParams {
    pub detail: Vec<MissingParam>,
}