geoengine_api_client/models/
provenance.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Provenance {
16 #[serde(rename = "citation")]
17 pub citation: String,
18 #[serde(rename = "license")]
19 pub license: String,
20 #[serde(rename = "uri")]
21 pub uri: String,
22}
23
24impl Provenance {
25 pub fn new(citation: String, license: String, uri: String) -> Provenance {
26 Provenance {
27 citation,
28 license,
29 uri,
30 }
31 }
32}
33