memas-client 0.1.0

This is the Data Plane APIs for MeMaS (Memory Management Service).
Documentation
/*
 * MeMaS DP APIs
 *
 * This is the Data Plane APIs for MeMaS (Memory Management Service).
 *
 * The version of the OpenAPI document: 0.1.0
 * Contact: max.yu@memas.ai
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Citation {
    #[serde(rename = "source_uri", skip_serializing_if = "Option::is_none")]
    pub source_uri: Option<String>,
    #[serde(rename = "source_name", skip_serializing_if = "Option::is_none")]
    pub source_name: Option<String>,
    #[serde(rename = "document_name", skip_serializing_if = "Option::is_none")]
    pub document_name: Option<String>,
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
}

impl Citation {
    pub fn new() -> Citation {
        Citation {
            source_uri: None,
            source_name: None,
            document_name: None,
            description: None,
        }
    }
}