mtgapi_client/model/
format.rs

1///DTO for the endpoints returning multiple formats
2#[derive(Serialize, Deserialize, Debug)]
3#[serde(deny_unknown_fields, untagged)]
4pub(crate) enum FormatDto {
5    Error {
6        status: Option<String>,
7        error: String,
8    },
9    Formats {
10        formats: Vec<String>,
11    },
12}