abs_data/models/derived/
annotation.rs

1use serde::{Deserialize, Serialize};
2
3use super::texts::Texts;
4
5#[derive(Default, Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
6#[serde(rename_all = "camelCase")]
7pub struct Annotation {
8    #[serde(rename = "type")]
9    pub _type: Option<Box<str>>,
10    pub text: Option<Box<str>>,
11    pub texts: Option<Texts>,
12    pub title: Option<Box<str>>,
13    pub id: Option<Box<str>>,
14}