memas_client/models/
cited_document.rs

1/*
2 * MeMaS DP APIs
3 *
4 * This is the Data Plane APIs for MeMaS (Memory Management Service).
5 *
6 * The version of the OpenAPI document: 0.1.0
7 * Contact: max.yu@memas.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct CitedDocument {
16    #[serde(rename = "document", skip_serializing_if = "Option::is_none")]
17    pub document: Option<String>,
18    #[serde(rename = "citation", skip_serializing_if = "Option::is_none")]
19    pub citation: Option<Box<crate::models::Citation>>,
20}
21
22impl CitedDocument {
23    pub fn new() -> CitedDocument {
24        CitedDocument {
25            document: None,
26            citation: None,
27        }
28    }
29}
30
31