Skip to main content

geoengine_api_client/models/
provenance.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * Contact: dev@geoengine.de
7 * Generated by: https://openapi-generator.tech
8 */
9
10use crate::models;
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct Provenance {
15    #[serde(rename = "citation")]
16    pub citation: String,
17    #[serde(rename = "license")]
18    pub license: String,
19    #[serde(rename = "uri")]
20    pub uri: String,
21}
22
23impl Provenance {
24    pub fn new(citation: String, license: String, uri: String) -> Provenance {
25        Provenance {
26            citation,
27            license,
28            uri,
29        }
30    }
31}
32