geoengine-api-client 0.0.33

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Geo Engine API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.9.0
 * Contact: dev@geoengine.de
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Provenance {
    #[serde(rename = "citation")]
    pub citation: String,
    #[serde(rename = "license")]
    pub license: String,
    #[serde(rename = "uri")]
    pub uri: String,
}

impl Provenance {
    pub fn new(citation: String, license: String, uri: String) -> Provenance {
        Provenance {
            citation,
            license,
            uri,
        }
    }
}