Struct docbase_io::models::post::Post [] [src]

pub struct Post {
    pub id: u32,
    pub title: String,
    pub body: String,
    pub draft: bool,
    pub url: String,
    pub created_at: String,
    pub scope: String,
    pub groups: Vec<Group>,
    pub tags: Vec<Tag>,
    pub user: User,
    pub comments: Vec<Comment>,
}

Fields

id: u32 title: String body: String draft: bool url: String created_at: String scope: String groups: Vec<Group> tags: Vec<Tag> user: User comments: Vec<Comment>

Trait Implementations

Derived Implementations

impl Encodable for Post
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Post
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Post, __D::Error>