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