diff --git a/src/convert/npf/objects_post.rs b/src/convert/npf/objects_post.rs index f91ff47..d5d0254 100644 --- a/src/convert/npf/objects_post.rs +++ b/src/convert/npf/objects_post.rs @@ -9,6 +9,7 @@ pub struct Post { object_type: String, pub id: u64, pub id_string: String, + pub content: Vec, pub r#type: Option, pub tumblelog_uuid: Option, pub original_type: Option, @@ -37,7 +38,6 @@ pub struct Post { pub post_author_avatar: Option, pub liked: Option, pub note_count: Option, - pub content: Vec, pub layout: Vec, pub trail: Vec, pub can_line: Option, @@ -100,9 +100,10 @@ impl Post { fn default() -> Self { Self { object_type: String::from("post"), - r#type: None, - id: 0, id_string: String::from("0"), + content: vec![], + id: 0, + r#type: None, tumblelog_uuid: None, original_type: None, is_blocks_post_format: None, @@ -130,7 +131,6 @@ impl Post { post_author_avatar: None, liked: None, note_count: None, - content: vec![], layout: vec![], trail: vec![], can_line: None,