diff options
author | Colin Reeder <colin@vpzom.click> | 2020-08-01 15:27:29 -0600 |
---|---|---|
committer | Colin Reeder <colin@vpzom.click> | 2020-08-01 15:29:24 -0600 |
commit | 30eb3636cc7ccc968f4244eef7c39a4cf0a317ff (patch) | |
tree | 14d54c45ca85651529e6a4f92e753588a8298e84 /src/resp_types.rs | |
parent | e2e37561e002fd7dbf9087a8721198ca335d33d4 (diff) |
Add Preview feature for posts (#78)
Diffstat (limited to 'src/resp_types.rs')
-rw-r--r-- | src/resp_types.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resp_types.rs b/src/resp_types.rs index b51b26c..96b1626 100644 --- a/src/resp_types.rs +++ b/src/resp_types.rs @@ -228,6 +228,11 @@ pub struct JustUser<'a> { } #[derive(Deserialize, Debug)] +pub struct JustContentHTML<'a> { + pub content_html: Cow<'a, str>, +} + +#[derive(Deserialize, Debug)] pub struct RespList<'a, T: std::fmt::Debug + 'a> { pub items: Vec<T>, pub next_page: Option<Cow<'a, str>>, |