audiot_core 0.2.0

Library that helps build the search database through the CLI, and eventually can be used to read data from that same database.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Debug, Deserialize, Serialize)]
pub struct Relation {
    #[serde(alias = "type")]
    pub relation_type: String,
    #[serde(alias = "target-type")]
    pub target_type: Option<String>,
    pub url: Option<Url>,
    pub ended: Option<bool>,
}

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Url {
    pub id: String,
    pub resource: String,
}