pub struct Post {Show 27 fields
pub id: Integer,
pub owner_id: Option<Integer>,
pub to_id: Option<Integer>,
pub from_id: Integer,
pub created_by: Integer,
pub date: Integer,
pub text: String,
pub reply_owner_id: Integer,
pub reply_post_id: Integer,
pub friends_only: Option<Integer>,
pub comments: Comments,
pub likes: Likes,
pub reposts: Reposts,
pub views: Views,
pub post_type: String,
pub post_source: Option<PostSource>,
pub attachments: Option<Vec<WallAttachment>>,
pub geo: Geo,
pub signer_id: Option<Integer>,
pub copy_history: Option<Vec<Post>>,
pub can_pin: Integer,
pub can_delete: Integer,
pub can_edit: Integer,
pub can_open: Boolean,
pub can_close: Boolean,
pub is_pinned: Integer,
pub marked_as_ads: Integer,
}
Expand description
Fields§
§id: Integer
§owner_id: Option<Integer>
§to_id: Option<Integer>
§from_id: Integer
§created_by: Integer
§date: Integer
§text: String
§reply_owner_id: Integer
§reply_post_id: Integer
§friends_only: Option<Integer>
§comments: Comments
§likes: Likes
§reposts: Reposts
§views: Views
§post_type: String
§post_source: Option<PostSource>
§attachments: Option<Vec<WallAttachment>>
§geo: Geo
§signer_id: Option<Integer>
§copy_history: Option<Vec<Post>>
§can_pin: Integer
§can_delete: Integer
§can_edit: Integer
§can_open: Boolean
§can_close: Boolean
§is_pinned: Integer
§marked_as_ads: Integer
Trait Implementations§
source§impl<'de> Deserialize<'de> for Post
impl<'de> Deserialize<'de> for Post
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more