diff --git a/src/snac/user/public/post.rs b/src/snac/user/public/post.rs index 31b9cba..37d7b6c 100644 --- a/src/snac/user/public/post.rs +++ b/src/snac/user/public/post.rs @@ -12,10 +12,10 @@ use tag::Tag; #[derive(Deserialize, Debug)] #[serde(rename_all = "camelCase")] pub struct Post { - #[serde(rename = "type", deserialize_with = "ptype")] - pub ptype: Ptype, pub attachment: Option>, pub id: String, + #[serde(rename = "type", deserialize_with = "ptype")] + pub ptype: Ptype, #[serde(default, deserialize_with = "time")] pub published: DateTime, pub source_content: Option,