geoengine_api_client/models/
provider_layer_collection_id.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ProviderLayerCollectionId {
16 #[serde(rename = "collectionId")]
17 pub collection_id: String,
18 #[serde(rename = "providerId")]
19 pub provider_id: uuid::Uuid,
20}
21
22impl ProviderLayerCollectionId {
23 pub fn new(collection_id: String, provider_id: uuid::Uuid) -> ProviderLayerCollectionId {
24 ProviderLayerCollectionId {
25 collection_id,
26 provider_id,
27 }
28 }
29}
30