fluentci_pdk/
cache.rs

1use fluentci_types::cache as types;
2use serde::{Deserialize, Serialize};
3
4#[derive(Serialize, Deserialize)]
5pub struct Cache {
6    pub id: String,
7    pub key: String,
8}
9
10impl From<types::Cache> for Cache {
11    fn from(cache: types::Cache) -> Self {
12        Cache {
13            id: cache.id,
14            key: cache.key,
15        }
16    }
17}